Should F1 display help on Runtime/Maps SDK QML types.
Is there a separate install for the help?
Is there a Preferences/Options setting that needs to be turned on?
Thanks
Rob
Solved! Go to Solution.
Hi @rob_hewy , the help is accessible if you were to search via Help Contents.
If you wish the F1 context-help key to function a patch will be required. Fortunately, you can create the patch yourself using the following AppStudio App. After running it, you will need to restart Qt Creator to see the changes.
import QtQuick 2.15
import QtQuick.Controls 2.15
import ArcGIS.AppFramework 1.0
import ArcGIS.AppFramework.Sql 1.0
App {
id: app
width: 800
height: 600
Button {
anchors.centerIn: parent
text: qsTr("Patch")
property SqlDatabase db: SqlDatabase { }
onClicked: {
patchFile("~/Applications/ArcGIS/AppStudio/doc/AppFramework.qch", 'org.qt-project.qtappframework.5156');
patchFile("~/Applications/ArcGIS/AppStudio/doc/ArcGISQtQML.qch", 'org.qt-project.qtarcgisqtqml.5156');
patchFile("~/Applications/ArcGIS/AppStudio/doc/ArcGISQtToolkit.qch", 'org.qt-project.qtarcgisqttoolkit.5156');
text = qsTr("Patched");
enabled = false;
}
function patchFile(fileName, namespace) {
db.databaseName = AppFramework.resolvedPath(fileName);
db.open();
db.query("UPDATE NamespaceTable SET Name = :namespace", { namespace });
db.close();
}
}
}
I am interested if this resolves this issue for you.
Stephen
Hi @rob_hewy ,
Thank you for reaching out to us. The developers are investigating in this case. We appreciate your patience.
Hi @rob_hewy , the help is accessible if you were to search via Help Contents.
If you wish the F1 context-help key to function a patch will be required. Fortunately, you can create the patch yourself using the following AppStudio App. After running it, you will need to restart Qt Creator to see the changes.
import QtQuick 2.15
import QtQuick.Controls 2.15
import ArcGIS.AppFramework 1.0
import ArcGIS.AppFramework.Sql 1.0
App {
id: app
width: 800
height: 600
Button {
anchors.centerIn: parent
text: qsTr("Patch")
property SqlDatabase db: SqlDatabase { }
onClicked: {
patchFile("~/Applications/ArcGIS/AppStudio/doc/AppFramework.qch", 'org.qt-project.qtappframework.5156');
patchFile("~/Applications/ArcGIS/AppStudio/doc/ArcGISQtQML.qch", 'org.qt-project.qtarcgisqtqml.5156');
patchFile("~/Applications/ArcGIS/AppStudio/doc/ArcGISQtToolkit.qch", 'org.qt-project.qtarcgisqttoolkit.5156');
text = qsTr("Patched");
enabled = false;
}
function patchFile(fileName, namespace) {
db.databaseName = AppFramework.resolvedPath(fileName);
db.open();
db.query("UPDATE NamespaceTable SET Name = :namespace", { namespace });
db.close();
}
}
}
I am interested if this resolves this issue for you.
Stephen
Totally worked!
The path is sensitive to where you installed the software.
The above works for the default settings which I did not use when I first installed.
A quick reinstall with the defaults, run the app, reopen QT Creator and all good 😁
Very surprised that ~ resolved to %USERPROFILE% on windows ... good job AppFramework and @StephenQuan1.
Thank YOU!