<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Error with Qt 6.4.3 and Esri Qt Maps SDK 200.1 on iOS in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/error-with-qt-6-4-3-and-esri-qt-maps-sdk-200-1-on/m-p/1321706#M5004</link>
    <description>&lt;P&gt;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.&amp;nbsp; But I get an error when running the Qt 6.4/SDK 200.1 version for the iOS platform in Xcode:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ASSERT: "!parsed.isError()" in file /Users/qt/work/qt/qtbase/src/corelib/plugin/qpluginloader.cpp, line 451&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;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.&amp;nbsp; I found this forum post from a few months ago:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/qt-maps-sdk-questions/windows-installation-trouble/td-p/1280847" target="_blank"&gt;windows installation trouble - Esri Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Here are the suggestions from this post that I tried, but they did not fully solve my problem:&lt;/P&gt;&lt;P&gt;Add the following to main.cpp:&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;qputenv("QT_DEBUG_PLUGINS", "1");

#if defined(Q_OS_IOS)
#  if QT_VERSION &amp;gt;= QT_VERSION_CHECK(6, 3, 0)
    extern const QStaticPlugin qt_static_plugin_ArcGISRuntimePlugin_compatibility();
    qRegisterStaticPluginFunction(qt_static_plugin_ArcGISRuntimePlugin_compatibility());
#  endif
#endif
#endif&lt;/LI-CODE&gt;&lt;P&gt;With 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). &amp;nbsp;&amp;nbsp;This is the error written to the console:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;module “Esri.ArcGIS Extras” plugin “ArcGISExtrasPlugin” not found&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;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.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my configuration that I would like to get this working on:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Xcode 14.2&lt;/LI&gt;&lt;LI&gt;macOS Monterey 12.6.2&lt;/LI&gt;&lt;LI&gt;Qt 6.4.3&lt;/LI&gt;&lt;LI&gt;Device types: iOS and iOS Simulator&lt;/LI&gt;&lt;LI&gt;Build config: release&lt;/LI&gt;&lt;LI&gt;ArcGIS Maps SDK for Qt 200.1&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Has anyone found a workaround for the qpluginloader error in Qt 6.4 + Esri SDK 200.1?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kelley&lt;/P&gt;</description>
    <pubDate>Wed, 23 Aug 2023 15:55:24 GMT</pubDate>
    <dc:creator>KCLewelling</dc:creator>
    <dc:date>2023-08-23T15:55:24Z</dc:date>
    <item>
      <title>Error with Qt 6.4.3 and Esri Qt Maps SDK 200.1 on iOS</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/error-with-qt-6-4-3-and-esri-qt-maps-sdk-200-1-on/m-p/1321706#M5004</link>
      <description>&lt;P&gt;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.&amp;nbsp; But I get an error when running the Qt 6.4/SDK 200.1 version for the iOS platform in Xcode:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ASSERT: "!parsed.isError()" in file /Users/qt/work/qt/qtbase/src/corelib/plugin/qpluginloader.cpp, line 451&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;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.&amp;nbsp; I found this forum post from a few months ago:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/qt-maps-sdk-questions/windows-installation-trouble/td-p/1280847" target="_blank"&gt;windows installation trouble - Esri Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Here are the suggestions from this post that I tried, but they did not fully solve my problem:&lt;/P&gt;&lt;P&gt;Add the following to main.cpp:&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;qputenv("QT_DEBUG_PLUGINS", "1");

#if defined(Q_OS_IOS)
#  if QT_VERSION &amp;gt;= QT_VERSION_CHECK(6, 3, 0)
    extern const QStaticPlugin qt_static_plugin_ArcGISRuntimePlugin_compatibility();
    qRegisterStaticPluginFunction(qt_static_plugin_ArcGISRuntimePlugin_compatibility());
#  endif
#endif
#endif&lt;/LI-CODE&gt;&lt;P&gt;With 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). &amp;nbsp;&amp;nbsp;This is the error written to the console:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;module “Esri.ArcGIS Extras” plugin “ArcGISExtrasPlugin” not found&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;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.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my configuration that I would like to get this working on:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Xcode 14.2&lt;/LI&gt;&lt;LI&gt;macOS Monterey 12.6.2&lt;/LI&gt;&lt;LI&gt;Qt 6.4.3&lt;/LI&gt;&lt;LI&gt;Device types: iOS and iOS Simulator&lt;/LI&gt;&lt;LI&gt;Build config: release&lt;/LI&gt;&lt;LI&gt;ArcGIS Maps SDK for Qt 200.1&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Has anyone found a workaround for the qpluginloader error in Qt 6.4 + Esri SDK 200.1?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kelley&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 15:55:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/error-with-qt-6-4-3-and-esri-qt-maps-sdk-200-1-on/m-p/1321706#M5004</guid>
      <dc:creator>KCLewelling</dc:creator>
      <dc:date>2023-08-23T15:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error with Qt 6.4.3 and Esri Qt Maps SDK 200.1 on iOS</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/error-with-qt-6-4-3-and-esri-qt-maps-sdk-200-1-on/m-p/1321939#M5007</link>
      <description>&lt;P&gt;Hi Kelley, thanks for reaching out!&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately you're running into a &lt;A href="https://developers.arcgis.com/qt/release-notes/prior-releases/release-notes-for-200-1/#known-issues" target="_self"&gt;known issue&lt;/A&gt; with 200.1, in that you c&lt;SPAN&gt;annot deploy the QML ArcGIS Plugin on iOS with Qt 6.3 or later. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, I believe we came up with a workaround, and you have half of it there. Try updating your code block to this:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;#if defined(Q_OS_IOS)
#  if QT_VERSION &amp;gt;= QT_VERSION_CHECK(6, 3, 0)
    extern const QStaticPlugin qt_static_plugin_ArcGISRuntimePlugin_compatibility();
    qRegisterStaticPluginFunction(qt_static_plugin_ArcGISRuntimePlugin_compatibility());
    extern const QStaticPlugin qt_static_plugin_ArcGISExtrasPlugin_compatibility();
    qRegisterStaticPluginFunction(qt_static_plugin_ArcGISExtrasPlugin_compatibility());
#  endif
#endif&lt;/LI-CODE&gt;&lt;P&gt;This adds compatibility for the ArcGIS Extras plugin as well, which is necessary when deploying some aspects of the QML ArcGIS plugin.&lt;/P&gt;&lt;P&gt;Try this and let me know if it works for you, thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 21:41:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/error-with-qt-6-4-3-and-esri-qt-maps-sdk-200-1-on/m-p/1321939#M5007</guid>
      <dc:creator>Tanner_Yould</dc:creator>
      <dc:date>2023-08-23T21:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: Error with Qt 6.4.3 and Esri Qt Maps SDK 200.1 on iOS</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/error-with-qt-6-4-3-and-esri-qt-maps-sdk-200-1-on/m-p/1322094#M5010</link>
      <description>&lt;P&gt;Tanner,&lt;/P&gt;&lt;P&gt;This workaround got me past the errors I was getting, and I can now deploy the app to my test iPad.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!!&lt;/P&gt;&lt;P&gt;Kelley&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 13:34:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/error-with-qt-6-4-3-and-esri-qt-maps-sdk-200-1-on/m-p/1322094#M5010</guid>
      <dc:creator>KCLewelling</dc:creator>
      <dc:date>2023-08-24T13:34:24Z</dc:date>
    </item>
  </channel>
</rss>

