I work on an application that we are upgrading from Qt 5.15 and Esri Qt SDK 100.15 to Qt 6.4 and Esri SDK 200.1. But I get an error when running the Qt 6.4/SDK 200.1 version for the iOS platform in Xcode:
ASSERT: "!parsed.isError()" in file /Users/qt/work/qt/qtbase/src/corelib/plugin/qpluginloader.cpp, line 451
I have tried creating a simple map project using the Esri Qt Quick QML app template, but I get the same error when I try running that for the iOS build, too. I found this forum post from a few months ago:
windows installation trouble - Esri Community
Here are the suggestions from this post that I tried, but they did not fully solve my problem:
Add the following to main.cpp:
qputenv("QT_DEBUG_PLUGINS", "1");
#if defined(Q_OS_IOS)
# if QT_VERSION >= QT_VERSION_CHECK(6, 3, 0)
extern const QStaticPlugin qt_static_plugin_ArcGISRuntimePlugin_compatibility();
qRegisterStaticPluginFunction(qt_static_plugin_ArcGISRuntimePlugin_compatibility());
# endif
#endif
#endifWith these changes in, I was able to run the simple map project against the iOS Simulator, but I am still getting errors when running my application for the iOS Simulator (within Qt Creator). This is the error written to the console:
module “Esri.ArcGIS Extras” plugin “ArcGISExtrasPlugin” not found
My application DOES run with Esri SDK 200.2 and Qt 6.5.2, but there are styling issues with Qt 6.5 that make that platform combination not as desirable.
Here is my configuration that I would like to get this working on:
- Xcode 14.2
- macOS Monterey 12.6.2
- Qt 6.4.3
- Device types: iOS and iOS Simulator
- Build config: release
- ArcGIS Maps SDK for Qt 200.1
Has anyone found a workaround for the qpluginloader error in Qt 6.4 + Esri SDK 200.1?
Thanks,
Kelley