|
BLOG
|
If you are using ArcGIS Runtime SDK for Qt and you require support for Integrated Windows Authentication (IWA), you must use version 5.12.x or 5.13.x for the time being. Qt 5.14 introduced a bug in Qt's networking stack which will prevent you from successfully issuing IWA network requests. This means that workflows such as signing into your organization and accessing your secured maps and layers will not work. This bug is present in 5.15.0 as well. Once the mentioned bug is resolved, ArcGIS Runtime SDK for Qt should begin working as expected with the patched version of Qt. Please reach out to the team on GeoNet if you have any questions. - The ArcGIS Runtime SDK for Qt Development Team
... View more
08-05-2020
02:00 PM
|
0
|
0
|
539
|
|
POST
|
Couple of thoughts with this: 1) The QML API will only allow you to have one task in progress at a time. If you connect to the errorChanged signal on the task, I imagine you might see something like "There is a unregisterGeodatabase operation currently in progress." "Please try again after the current operation completes.";. You will need to queue these tasks up and execute once the previous one was complete. 2) You mention "I only sync one of the geodatabases". If this is the case, could you try setting the GenerateGeodatabaseParameters.syncModel to Enums.SyncModelNone for the gdbs you don't want to sync. This will avoid you having to unregister them at all
... View more
08-05-2020
12:49 PM
|
0
|
0
|
1228
|
|
POST
|
Hey Paul - I think for the time being, this is "as designed", though I can see where your workflow is causing confusion. I tested the same workflow on the REST page. For example: - go to this feature Feature (ID: 3422124) - go to the attachment infos. note the top most attachment id - go back to the feature page and go to update attachments - pass in the attachment id and a new image - go back to the attachment infos page and refresh - the updated attachment is now at the bottom Couple of thoughts on where to go from here. First would be to log a bug - best place to do this would be with the server, so that all clients benefit from the change. As for workarounds in your code, I was wondering if you have autoFetchAttachments set to true on your attachment list model (it is by default). Perhaps you'd be better off setting it to false and then explicitly calling fetchAttachments when you want to get updates from the server.
... View more
08-05-2020
07:48 AM
|
0
|
1
|
1227
|
|
POST
|
Dimensions aren't supported at the moment, but we are considering adding support for them.
... View more
08-05-2020
07:29 AM
|
0
|
0
|
889
|
|
POST
|
Local data such as Shapefiles and KML will require a Standard license key. Is that the level of key you have added into your licensing code? Licensing your ArcGIS Runtime App | ArcGIS for Developers (Go to ArcGIS Runtime Licensing and see the FAQ "What data types are supported as "local data files" and which licensing level do they require?")
... View more
08-05-2020
07:27 AM
|
0
|
0
|
767
|
|
POST
|
Everything in ArcGIS Runtime that can go to/from JSON is based on the ArcGIS REST spec. So for geometries, you can reference this doc - Geometry objects—Common Data Types | ArcGIS for Developers For symbols, Symbol Objects—Common Data Types | ArcGIS for Developers
... View more
07-30-2020
11:14 AM
|
1
|
1
|
1711
|
|
BLOG
|
The TL;DR Version:
If you are using any static method from the Runtime QML API (e.g., ArcGISRuntimeEnvironment.createObject(), SpatialReference.createWgs84(), GeometryEngine.project(), etc.), with version 100.8 or older, those methods will not work with Qt 5.15. The most reliable solution in this case is to use an older version of Qt, such as 5.12, 5.13, or 5.14. For upcoming releases of the software (version 100.9 and beyond), the majority of cases will begin to work again with no code changes, and a handful of cases will require a minor code change (see below). This issue does not affect the C++ API.
Background:
The Runtime QML API is written in C++ code. C++ objects become QML objects by declaring properties and methods in the C++ class and then by registering the class as a QML type. When you register the class, you must choose between making it a creatable type (one that you can declare in code, such as a FeatureLayer), an uncreatable type (one that the API can create and return to you, but you cannot instantiate in QML code, such as a GeocodeResult), or a singleton type (one that has exactly one instance in the app, such as ArcGISRuntimeEnvironment). Singleton types are Qt’s way of supporting static methods in QML. Static methods are used in the Runtime API for a few different patterns, including quick, stateless synchronous methods, such as those on the GeometryEngine, as well a factory methods used to create new objects.
The Problem:
Qt 5.15 introduced some changes to the underlying type registration where certain singleton registration workflows will no longer work. In particular, there are a handful of classes that are registered both as creatable and singleton types. For example SpatialReference can be declared or can be created using the static helper factory methods createWgs84() and createWebMercator():
// declared
SpatialReference {
wkid: 4326
}
// created in JS with static factory method
const sr = SpatialReference.createWgs84();
Registering a type as both creatable and as a singleton is no longer supported with Qt 5.15, and therefore we had to introduce some new API and re-architect our internals to better handle the new patterns.
The Solution
For 100.8 and previous releases, the only reliable solution is to continue to use Qt 5.12, 5.13, or 5.14.
For the upcoming 100.9 release and beyond, the majority of static functions will begin to work again automatically, with no code changes. The following are the exceptions that will not begin to work automatically and will require code changes. The new pattern is to add "Factory." in front of each of the following static functions:
SpatialReference.createWgs84 -> Factory.SpatialReference.createWgs84
SpatialReference.createWebMercator -> Factory.SpatialReference.createWebMercator
LineSegment.createLineAtAngleFromStartPoint -> Factory.LineSegment.createLineAtAngleFromStartPoint
KmlViewpoint.createCameraViewpoint -> Factory.KmlViewpoint.createCameraViewpoint
KmlViewpoint.createLookAtViewpoint -> Factory.KmlViewpoint.createLookAtViewpoint
KmlViewpoint.createWithViewpoint -> Factory.KmlViewpoint.createWithViewpoint
TransformationMatrix.createIdentityMatrix -> Factory.TransformationMatrix.createIdentityMatrix
TransformationMatrix.createWithQuaternionAndTranslation -> Factory.TransformationMatrix.createWithQuaternionAndTranslation
DictionarySymbolStyle.createFromFile -> Factory.DictionarySymbolStyle.createFromFile
Here you can see the pull request we recently made to update our 100.9 samples to adopt the new pattern.
If you have any questions, please reach out to us on GeoNet and we can guide you through the transition.
- The ArcGIS Runtime SDK for Qt Development team
... View more
07-24-2020
02:23 PM
|
0
|
0
|
9382
|
|
POST
|
Hi Quentin- I believe if you include the PRI we ship with the SDK, everything should work. However, with this specific error, I think if you explicitly add the path to the libEsriCommonQt.so (/home/vagrant/arcgis/runtime_sdk/qt100.7/sdk/linux/x64/lib) to your LD_LIBRARY_PATH variable, everything should work.
... View more
07-22-2020
03:05 PM
|
0
|
0
|
891
|
|
POST
|
Hi Claire - Regarding the 32-bit build, we only release the 64-bit binaries so I am not surprised you are getting a linker error. As for 64-bit, we should be able to get this working. It sounds like an issue at runtime, not build time. I think there are a few ways this can be accomplished. First off, I believe QML2_IMPORT_PATH is supposed to be used as an environment variable (not qmake). You could try setting this environment variable in Qt Creator before running - https://doc.qt.io/qt-5/qtqml-syntax-imports.html#qml-import-path Otherwise, have you tried adding to the import path in the main.cpp with engine.addImportPath? https://doc.qt.io/qt-5/qqmlengine.html#addImportPath QQmlApplicationEngine appEngine;
appEngine.addImportPath("C:\\Program Files (x86)\\ArcGIS SDKs\\Qt100.8\\sdk\\windows\\x64\\qml");
... View more
07-22-2020
02:47 PM
|
1
|
1
|
3120
|
|
POST
|
From the build output, it looks like you are compiling with mingw, but we require msvc 2017 on Windows - System requirements for 100.8.0—ArcGIS Runtime SDK for Qt | ArcGIS for Developers
... View more
07-21-2020
07:09 AM
|
0
|
0
|
1230
|
|
POST
|
Hey Paul - this should be possible now - features can be added/updated/deleted.
... View more
07-09-2020
10:57 AM
|
0
|
2
|
2044
|
|
POST
|
The height is in meters - MarkerSceneSymbol Class | ArcGIS for Developers Note that they are in real world units, so as you zoom out, it will appear smaller, and zoom in, and they will appear bigger.
... View more
07-07-2020
08:08 AM
|
0
|
0
|
977
|
|
POST
|
ArcGIS Runtime does not currently support clustering at all, for either symbols or popups.
... View more
07-01-2020
02:51 PM
|
1
|
1
|
1781
|
|
POST
|
The referenced sample should get you on the right track. The key is to call "identifyLayers" (with an "s"), which will search for clicked features in any layer in the map. If you use "identifyLayer", you will need to pass in specific layer objects into the method. The result is an identify result object, which you can get the features/geo elements from and make a selection. Check out this sample for that workflow - arcgis-runtime-samples-qt/FeatureLayer_Selection.qml at master · Esri/arcgis-runtime-samples-qt · GitHub
... View more
07-01-2020
09:27 AM
|
0
|
0
|
818
|
|
POST
|
In 3D, you'll want to use a Camera. You can either use the Camera directly into a setViewpoint call, or you can create a Viewpoint from one of the constructors that takes in a Camera. Here is an example of one workflow we use in a sample - arcgis-runtime-samples-qt/BasicSceneView.cpp at master · Esri/arcgis-runtime-samples-qt · GitHub
... View more
06-29-2020
06:54 AM
|
0
|
0
|
1187
|
| Title | Kudos | Posted |
|---|---|---|
| 3 | 05-27-2026 09:52 AM | |
| 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 |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|