|
POST
|
@NothernCoder thanks for clarifying. There is a visual studio 2019 plugin you can use to use Qt with the VS IDE, but we've not tested with that. There is a lot of extra stuff Qt does and Visual Studio typically doesn't know about it (like moc, for example). https://marketplace.visualstudio.com/items?itemName=TheQtCompany.QtVisualStudioTools2019 Our team mostly uses Qt Creator since it provides the best cross-platform development experience across macOS, Linux and Windows, but it is subjective. Another option would be to configure your build with qmake on the command line, or even with CMake and then use VS Code as your editor. It should work, but we've not tested that either.
... View more
12-14-2022
12:07 PM
|
0
|
2
|
3124
|
|
POST
|
Hi @NothernCoder, are you running into any specific issues? Typically on Windows, assuming you have Visual Studio 2019 installed, installing Qt and using Qt Creator that is installed along with Qt will auto-configure the kits for you. Generally, the workflow should go something like this (the order isn't mandatory) Install Visual Studio 2019 latest version. Install Qt 5.15.2 (or latest 5.15.X). Install ArcGIS Runtime SDK for Qt. After that, when you launch Qt Creator (the one included with Qt install), you should be ready to start writing some code. Our post installer at the end of our installation will optionally include Qt Creator templates to get you started, if you choose to install them (it's optional).
... View more
12-14-2022
10:47 AM
|
0
|
4
|
3129
|
|
POST
|
Hi @JohnHouston. If you reach out to Esri support, we can get you a version of the libraries with symbols intact to get a better stack trace. The thread in question in the render thread. Is there anything specific you are doing when it crashes? Is it a regression from a previous Runtime version? Is the map idle when it happens? Any additional info would be helpful to help diagnose the problem. Once you get the .so with the symbols from support, that would also be very helpful.
... View more
12-12-2022
06:49 PM
|
0
|
0
|
1368
|
|
POST
|
Hi @TroyFoster. First, sorry for the delay in getting back to you. We've been busy preparing our first Qt 6 release, which is coming very soon. I looked at your code and situation, and I don't know if there is any way to map those online urls to a local cache. However, I did find that with 100.14 I was able to load them up on my mac with local paths once I downloaded the files. See below. Let me know if that works for you.
... View more
12-12-2022
02:00 PM
|
0
|
1
|
1863
|
|
POST
|
Hi @RenjithR. We have run into issues in the past running Qt's deployment tool, primarily because in my experience it does not properly detect other dependencies besides Qt itself. In your deployed application folder, you will need EsriCommonQt.dll, runtimecore.dll and ArcGISRuntimePlugin.dll. Take a look at our QML samples deployment for a comparison. This is the 100.15.0 version, but you should be able to see where all the expected dlls are. https://www.arcgis.com/home/item.html?id=c8f2bd986fd342ad933684db73dc4b69
... View more
10-11-2022
12:36 PM
|
0
|
0
|
2156
|
|
POST
|
@JeremyRoberts2 I looked into this a bit and that layer should be working for you. I have logged a bug in internal bug tracker and we will look into this. Thank you for letting us know about this.
... View more
08-23-2022
04:11 PM
|
0
|
0
|
1780
|
|
POST
|
Ok, thanks for the follow up info @MKa. Don't hesitate to reach out if you find any issues on the Runtime side of things.
... View more
08-19-2022
09:51 AM
|
0
|
0
|
3284
|
|
POST
|
With the autoFetchLegendInfos setting, does it simply fetch legends for all map layers without regard for the web map settings? Yes, it will fetch the legend information from every layer. You can get the web map json from the JsonSerializable properties, which are broken into a few categories: json - what is read and supported by the Runtime. unsupportedJson - things the Runtime knows about, but does not support. unknownJson - things the Runtime does not about, for example web map features released after Runtime.
... View more
08-18-2022
05:00 PM
|
1
|
1
|
1662
|
|
POST
|
Very interesting. Can you share what version of the Runtime was working and the one that is now failing roughly every 4th time? Also let me ask, does the app display any authentication dialog that is getting ignored or skipped? We recently addressed a bug in our authentication dialogs in our toolkit code. The issue was that in a stack view situation if you swipe away or otherwise dismiss the authentication dialog it would not properly cancel the challenge. Future requests would just fail and no longer challenge in these cases. It's a long shot, but worth mentioning. https://github.com/Esri/arcgis-runtime-toolkit-qt/pull/539
... View more
08-18-2022
02:58 PM
|
0
|
2
|
3294
|
|
POST
|
@FatmaAkdemir another option to consider is using the SketchEditor. It might be overkill for your situation, but it supports graphics editing and simple moving of points and polygon vertices. It also has undo/redo support which might be useful.
... View more
08-17-2022
10:53 AM
|
0
|
0
|
1373
|
|
POST
|
@tanerkoka we do not support the MinGW kit on Windows. You must use the Visual Studio 2019 kit with the Runtime SDK for Qt on Windows. This is the reason you are seeing these build errors.
... View more
08-17-2022
10:04 AM
|
0
|
2
|
11432
|
|
POST
|
Hi @FatmaAkdemir . We have a sample that does this here. It should be working. Can you share more details about this? For example, are you identifying a single graphic whose geometry is a polygon, or do you have multiple graphics and each has a separate polygon? The fact that you are able to delete polyons independently seems like you may have multiple graphics.
... View more
08-16-2022
03:02 PM
|
0
|
1
|
1271
|
|
POST
|
Hi @FatmaAkdemir. There are some complications with that since it needs to cooperate with the MapView to know when and when not to pan the map in situations like this. Moving a graphic can be done now, although it's not as simple as having a clean interface with something like setMovable(true). I wrote some quick Qt Widgets sample code to show how. connect(m_map, &Map::doneLoading, this, [this](Error)
{
m_graphic = new Graphic(Point{0,0}, new SimpleMarkerSymbol(SimpleMarkerSymbolStyle::Square, QColor{Qt::red}, 10, this), this);
auto overlay = new GraphicsOverlay(this);
overlay->graphics()->append(m_graphic);
m_mapView->graphicsOverlays()->append(overlay);
});
m_mapView = new MapGraphicsView(this);
// find the graphic from the clicked point
connect(m_mapView, &MapGraphicsView::identifyGraphicsOverlayCompleted, this, [this](QUuid, IdentifyGraphicsOverlayResult* identifyResult)
{
const auto graphics = identifyResult->graphics();
if (graphics.isEmpty())
return;
auto g = graphics.first();
if (g == m_graphic)
{
m_movingGraphic = true;
}
});
// if we found the graphic, start moving it to the new mouse location
connect(m_mapView, &MapGraphicsView::mouseMoved, this, [this](QMouseEvent& mouseEvent)
{
if (!m_movingGraphic)
return;
auto newGeometry = m_mapView->screenToLocation(mouseEvent.x(), mouseEvent.y());
m_graphic->setGeometry(newGeometry);
});
// "accept" the event to prevent dragging the MapView
// also start an identify to see if we clicked on the graphic
connect(m_mapView, &MapGraphicsView::mousePressed, this, [this](QMouseEvent& mouseEvent)
{
mouseEvent.accept();
m_mapView->identifyGraphicsOverlay(m_mapView->graphicsOverlays()->first(), mouseEvent.x(), mouseEvent.y(), 5, false);
});
// stop the dragging
connect(m_mapView, &MapGraphicsView::mouseReleased, this, [this](QMouseEvent&)
{
m_movingGraphic = false;
} Let me know if this works for your purposes.
... View more
08-16-2022
02:43 PM
|
1
|
2
|
1387
|
|
POST
|
I recommended reaching out to Esri support so we can help you more. There's nothing in your workflow that sounds too wild, and if it used to work consistently it should still be working. For more debugging, I would add onLoadStatusChanged handlers to every loadable object with some console logging. Portal, Map, ServiceFeatureTable, etc... That way you should be able to pinpoint what is failing every fourth time and see if there is anything you can tweak in your code to get it working again. I do still recommend reaching out to support. This sounds like something we should investigate.
... View more
08-15-2022
02:42 PM
|
0
|
4
|
3308
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | a month ago | |
| 1 | 10-22-2025 03:59 PM | |
| 1 | 06-18-2025 10:30 AM | |
| 1 | 06-18-2025 08:43 AM | |
| 1 | 05-15-2025 01:10 PM |
| Online Status |
Offline
|
| Date Last Visited |
a month ago
|