|
POST
|
You can disable the logging with this property https://developers.arcgis.com/qt/v100/qml/api-reference/qml-esri-arcgisruntime-arcgisruntimeenvironment.html#logDeprecationWarnings-prop
... View more
04-05-2023
06:51 AM
|
1
|
1
|
1425
|
|
POST
|
If using OAuth, could you try setting the following OAuthClientInfo property: oAuthClientInfo: OAuthClientInfo {
oAuthMode: Enums.OAuthModeUser
clientId: appPortal.clientId
refreshTokenExchangeInterval: 30 // <--- Add this
} The API should use the refresh token to fetch a new access token for you automatically.
... View more
03-21-2023
08:48 AM
|
0
|
4
|
2411
|
|
POST
|
Hi Norbert, You are correct, LocationDisplay is currently only supported in 2D mode. There are additional challenges with 3D that need to be considered, including different viewpoint/camera modes, z values/elevation, symbol support, and more. We implemented a similar class in our DSA example app to display current location, which you can reference - https://github.com/Esri/dynamic-situational-awareness-qt/blob/main/Shared/LocationDisplay3d.h I'll add you to our tracking list of customers interested in getting 3D Location Display. Thanks, Lucas
... View more
02-22-2023
07:44 AM
|
1
|
2
|
1759
|
|
POST
|
Nuget support with ArcGIS Runtime SDK for Qt currently isn't planned. I'm not sure why 100.12 was available at one point, as we've never uploaded it. Perhaps a 3rd party uploaded it...? With that said, we've been researching package manager solutions with Qt to find the best solution for the various platforms we support (mac, linux, windows). We were intrigued by the Conan preview but The Qt Company is ending that project https://www.qt.io/blog/conan-package-manager-pilot-to-end-in-december. We were hoping for a more cross-platform solution and one that was familiar to Qt developers. Is there a reason you are particularly interested in Nuget for Qt development? Are you able to use the download from developers.arcgis.com in the meantime?
... View more
12-12-2022
08:52 AM
|
0
|
1
|
1811
|
|
POST
|
Correct, our .NET SDK is available on nuget, but we've not uploaded the Qt SDK
... View more
12-12-2022
08:13 AM
|
0
|
3
|
1819
|
|
POST
|
Hello - we haven't uploaded the Qt Runtime SDK to Nuget package manager before... Do you have a link to what you are referring to? Here is the download instructions from developers.arcgis.com - https://developers.arcgis.com/qt/install-and-set-up/#install-arcgis-runtime-sdk-for-qt
... View more
12-12-2022
07:57 AM
|
0
|
5
|
1821
|
|
POST
|
You could add a graphic with a VectorMarkerSymbolElement. This allows you to define the symbol shape as a vector https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-vectormarkersymbolelement.html
... View more
10-31-2022
08:42 AM
|
0
|
0
|
810
|
|
POST
|
You should be able to target only the ARM architectures and not the x86 architectures. In you Qt Creator screenshot, I'd suggest you only check 'armeabi-v7a' and 'arm64-v8a' and leave 'x86' and 'x86_64' unchecked
... View more
10-31-2022
08:39 AM
|
0
|
2
|
1854
|
|
POST
|
Hello - Can you provide some more details - do you have your own data source, or are you needing to obtain the data? ArcGIS Runtime SDK doesn't have an export GeoTiff API, but it can read and render GeoTiffs. ArcGIS also has the ability to export raster tiles from online basemaps. This allows you to use basemaps offline, but the data format would be a raster tile package, not a GeoTiff. https://github.com/Esri/arcgis-runtime-samples-qt/tree/main/ArcGISRuntimeSDKQt_CppSamples/Layers/ExportTiles
... View more
10-05-2022
07:21 AM
|
0
|
2
|
1584
|
|
POST
|
As far as I know, the username and password supplied by the user should be used to obtain the new token once the old one expires. If that is not the case, then that is a bug in the API. I have another suggestion to try: Instead of using the AuthenticationView, you could connect to the AuthenticationManager and respond to credential challenges there. You can intercept the challenge and respond to the challenge programmatically Something like: Connections {
target: AuthenticationManager
function onAuthenticationChallenge(challenge) {
const credential = ArcGISRuntimeEnvironment.createObject("Credential", {username: "", password: ""});
challenge.continueWithCredential(credential);
}
} Here is the doc on that https://developers.arcgis.com/qt/qml/api-reference/qml-esri-arcgisruntime-authenticationmanager.html
... View more
09-16-2022
09:27 AM
|
1
|
7
|
2633
|
|
POST
|
The SketchEditor does not currently allow you to pan while sketching. To workaround this limitation, you'd need to do something along the lines of: user presses a button to save the geometry and stop editing, user pans, user presses a button to start editing from the previous geometry. It would take some fine tuning to get it right, but it should be doable. We are working on an updated design of the SketchEditor, which will be available in an upcoming release, and that new design will allow for panning while sketching.
... View more
09-16-2022
09:20 AM
|
0
|
1
|
667
|
|
POST
|
Annotations could be used to click/select/move text around. You'd need to author annotations in ArcGIS Pro and share it as a feature service or in a mobile map package. These basically end up being like editable features that can be moved to static locations on a map https://github.com/Esri/arcgis-runtime-samples-qt/tree/main/ArcGISRuntimeSDKQt_CppSamples/Layers/DisplayAnnotation As for leader lines, we have plans to eventually support them with annotations, but don't currently support them.
... View more
09-14-2022
08:31 AM
|
1
|
0
|
840
|
|
POST
|
Have you seen the token authentication sample? https://github.com/Esri/arcgis-runtime-samples-qt/tree/main/ArcGISRuntimeSDKQt_QMLSamples/CloudAndPortal/TokenAuthentication This makes use of the ArcGIS Runtime Toolkit's AuthenticationView. This component will ask the user to sign in on load, but then will automatically exchange/refresh tokens behind the scenes. We have other samples as well that showcase how to use OAuth, IWA, and other sign in options.
... View more
09-14-2022
08:09 AM
|
1
|
2
|
2662
|
|
BLOG
|
As discussed in a previous blog, a critical step to take in preparing your apps for version 200 is to replace deprecated APIs with current APIs and contemporary code. This blog describes how to do this in QML. Because QML is an interpreted language, it does not currently have a compiler, linter, or IDE tools to help you easily identify deprecated API usage. As such, we’ve introduced a property on ArcGISRuntimeEnvironment named logDeprecatedWarnings. This property logs to the console whenever a deprecated class, property, method, or signal is used in your app. The log content contains the API name that is deprecated, as well as the file and line number in some circumstances. After identifying deprecated API usage, consult the API reference doc to find a suitable replacement and make appropriate changes to your code. Please note that these warnings are run-time warnings, not compile-time warnings. This means the warnings will be logged throughout the lifetime of running your apps. Thus, it is important to fully test your app to ensure all code paths are run. Some common potential pitfalls include: QML files or Components that are loaded with a QML Loader, StackView, or other similar pattern. The QML engine will not parse these files or components until they are loaded, so it is essential that your app testing loads all QML files and code. JavaScript code is not parsed by the QML engine when the file is loaded, but rather when the JavaScript code is run. For example, in this case the warning will be logged when the button is clicked. This property is enabled by default. It can be disabled by setting the property to false.
... View more
09-02-2022
12:45 PM
|
2
|
0
|
1643
|
|
BLOG
|
As discussed in a previous blog, a critical step to take in preparing your Qt apps for version 200 is to replace deprecated APIs with current APIs and contemporary code. This blog describes how to do this in C++. To simplify identifying deprecated APIs in C++, we’ve created a macro, QRT_DEPRECATED, that will raise compiler warnings for any deprecated usage in your app. The warnings will show up in Qt Creator like this: Qt Creator will also call out any usage in the code editor, making it very easy to identify where to make the changes. After identifying deprecated API usage, consult the API reference doc to find a suitable replacement and make appropriate changes to your code. The QRT_DEPRECATED macro is enabled by default, so you will see these warnings automatically.
... View more
09-02-2022
12:41 PM
|
2
|
0
|
4804
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 11-24-2025 10:45 AM | |
| 1 | 07-30-2025 08:26 AM | |
| 1 | 05-15-2025 07:35 AM | |
| 2 | 11-26-2024 01:27 PM | |
| 1 | 06-26-2015 10:19 AM |
| Online Status |
Offline
|
| Date Last Visited |
Tuesday
|