Hi. I've been trying to use the Settings type in my application, for which I added the following code to my main.qml file:
import Esri.ArcGISRuntime 100.0
import Esri.ArcGISExtras 1.1
...
Settings { id: settings
property string userName: userId
property string loggedUser
}
This code worked for me in the AppStudio. QtCreator seems to recognize the type and I can build the app. However, when debugging the following error is thrown:
qrc:/qml/main.qml:41 The Esri ArcGIS Extras type Settings is not creatable
I did look on the API reference page (Settings QML Type | ArcGIS for Developers ) how to use the Settings in the Qt SDK for ArcGIS, however there were no code examples to be found. Could someone inform me what I'm doing wrong?
Thanks in advance!