I have installed ArcGIS AppStudio which installed Qt Creator along with the Runtime SDK for Qt 100.12. I'd like to take advantage of the new features (mapView.locationDisplay) in the 100.13 SDK. How can I upgrade?
I have tried downloading and installing the new SDK but cannot tell Qt Creator to use it. Changing my import statements to import Esri.ArcGISRuntime 100.13 throws a runtime error.
Any help here?
thx
Solved! Go to Solution.
Oh, @DavidPuckett, fortunately you shouldn't need Runtime 100.13 to use both `LocatorTask` and `SuggestListModel`, because they were added in 100.0. The "Find a place" sample was actually initially committed to the Qt samples repo five years ago, so those APIs should certainly work with versions earlier than 100.13.
The current import statement is `import Esri.ArcGISRuntime 100.13`, but 100.13 here can be substituted for your current Runtime version. So in your case, `import Esri.ArcGISRuntime 100.12` should provide access to both the `LocatorTask` and `SuggestListModel`.
I hope that helps, and please don't hesitate to follow up with further questions!
Hi DavidPuckett!
The AppStudio uses a fixed version of the Runtime SDK. As you have identified, the most recent version of AppStudio uses SDK version 100.12. Unfortunately this cannot be updated. New features available in version 100.13 of the Runtime SDK will be made available in a future version of AppStudio.
Let us know if there is anything further we can do to assist you.
Further to my previous message, what new features are you trying to access? Thanks!
Thank you for the info @AndrewBladon I'm trying to implement the autocomplete search feature shown here
https://developers.arcgis.com/qt/qml/sample-code/find-a-place/
It depends on the new LocatorTask and SuggestListModel added at 100.13.
https://developers.arcgis.com/qt/qml/api-reference/qml-esri-arcgisruntime-locatortask.html
https://developers.arcgis.com/qt/qml/api-reference/qml-esri-arcgisruntime-suggestlistmodel.html
Oh, @DavidPuckett, fortunately you shouldn't need Runtime 100.13 to use both `LocatorTask` and `SuggestListModel`, because they were added in 100.0. The "Find a place" sample was actually initially committed to the Qt samples repo five years ago, so those APIs should certainly work with versions earlier than 100.13.
The current import statement is `import Esri.ArcGISRuntime 100.13`, but 100.13 here can be substituted for your current Runtime version. So in your case, `import Esri.ArcGISRuntime 100.12` should provide access to both the `LocatorTask` and `SuggestListModel`.
I hope that helps, and please don't hesitate to follow up with further questions!
Checking in here to say that, well, the runtime version was not the issue here, as you pointed out @Tanner_Yould . There were a series of issues around 'current location' that were making the locator fail so I assumed it was the problem. FWIW I never got that sample running as-is but did pull out the parts to get what I needed.