<?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 Re: Mac Deployment Issue in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/mac-deployment-issue/m-p/350774#M1759</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Selim-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you open your app bundle (right click and select to show content), do you see an "Esri/ArcGISRuntime/" folder? Open up one of the sample viewers and compare it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If memory serves me correct, Qt's macdeployqt tool didn't copy third party plugins into your app bundle, even if you specify the&amp;nbsp;`-qmldir` argument. As a workaround, we would just copy the files into the app bundle manually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, something along the lines of the following should get you on&amp;nbsp;the right track:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;$HOME/Qt5.12.0/5.12.0/clang_64/bin/macdeployqt ArcGISQt_QMLSamples.app -appstore-compliant -executable=ArcGISQt_QMLSamples.app/Contents/MacOS/ArcGISQt_QMLSamples -qmldir=../../../qt/sdk/samples
cp -p libEsriCommonQt.dylib ArcGISQt_QMLSamples.app/Contents/Frameworks/
cp -p libruntimecore.dylib ArcGISQt_QMLSamples.app/Contents/Frameworks/
cp -p ${SRC_DIR}/ArcGISRuntimePlugin.qmltypes ArcGISQt_QMLSamples.app/Contents/Resources/qml/Esri/ArcGISRuntime/
cp -p ${SRC_DIR}/libArcGISRuntimePlugin.dylib ArcGISQt_QMLSamples.app/Contents/Resources/qml/Esri/ArcGISRuntime/
cp -p ${SRC_DIR}/qmldir ArcGISQt_QMLSamples.app/Contents/Resources/qml/Esri/ArcGISRuntime/‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 16:29:56 GMT</pubDate>
    <dc:creator>LucasDanzinger</dc:creator>
    <dc:date>2021-12-11T16:29:56Z</dc:date>
    <item>
      <title>Mac Deployment Issue</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/mac-deployment-issue/m-p/350773#M1758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to deploy a default ArcGIS QT Quick project into a macOS Mojave. The &lt;SPAN&gt;ArcGISQTQuick.app&lt;/SPAN&gt; runs fine on my development Mac from the build folder. &amp;nbsp;On the target Mac, the app runs for a split second and exits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I went through the Mac logs in the console applications and came across the following errors.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;ArcGISQTQuick: QQmlApplicationEngine failed to load component&lt;/P&gt;&lt;P&gt;ArcGISQTQuick: qrc:/qml/main.qml:16 module "Esri.ArcGISRuntime" is not installed&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following .pri files are added to my ArcGISRuntime.pri.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;/P&gt;!&lt;SPAN style="color: #808000;"&gt;include&lt;/SPAN&gt;($$priLocation/sdk/ideintegration/arcgis_runtime_qml.pri)&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;{&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;  &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;message&lt;/SPAN&gt;("Error.&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;Cannot&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;locate&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;ArcGIS&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;Runtime&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;PRI&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;file")&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;}&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;!&lt;SPAN style="color: #808000;"&gt;include&lt;/SPAN&gt;($$priLocation/sdk/ideintegration/esri_runtime_qt.pri)&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;{&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;  &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;message&lt;/SPAN&gt;("Error.&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;Cannot&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;locate&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;ArcGIS&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;Runtime&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;PRI&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;file")&lt;/PRE&gt;&lt;PRE style="color: #000000;"&gt;}&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;PRE style="color: #000000;"&gt;&lt;/PRE&gt;&lt;P&gt;I thought addition of those lines would have handled the .qml import paths. Is there anything else I should be doing? It seems that .qml files for Esri are not being linked/imported correctly to the deployment folder of the app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for the kit, I use Desktop QT 5.12.2 clang 64bit with release option.&lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;Selim Ozel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2019 17:20:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/mac-deployment-issue/m-p/350773#M1758</guid>
      <dc:creator>SelimOzel</dc:creator>
      <dc:date>2019-10-07T17:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Mac Deployment Issue</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/mac-deployment-issue/m-p/350774#M1759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Selim-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you open your app bundle (right click and select to show content), do you see an "Esri/ArcGISRuntime/" folder? Open up one of the sample viewers and compare it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If memory serves me correct, Qt's macdeployqt tool didn't copy third party plugins into your app bundle, even if you specify the&amp;nbsp;`-qmldir` argument. As a workaround, we would just copy the files into the app bundle manually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, something along the lines of the following should get you on&amp;nbsp;the right track:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;$HOME/Qt5.12.0/5.12.0/clang_64/bin/macdeployqt ArcGISQt_QMLSamples.app -appstore-compliant -executable=ArcGISQt_QMLSamples.app/Contents/MacOS/ArcGISQt_QMLSamples -qmldir=../../../qt/sdk/samples
cp -p libEsriCommonQt.dylib ArcGISQt_QMLSamples.app/Contents/Frameworks/
cp -p libruntimecore.dylib ArcGISQt_QMLSamples.app/Contents/Frameworks/
cp -p ${SRC_DIR}/ArcGISRuntimePlugin.qmltypes ArcGISQt_QMLSamples.app/Contents/Resources/qml/Esri/ArcGISRuntime/
cp -p ${SRC_DIR}/libArcGISRuntimePlugin.dylib ArcGISQt_QMLSamples.app/Contents/Resources/qml/Esri/ArcGISRuntime/
cp -p ${SRC_DIR}/qmldir ArcGISQt_QMLSamples.app/Contents/Resources/qml/Esri/ArcGISRuntime/‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 16:29:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/mac-deployment-issue/m-p/350774#M1759</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2021-12-11T16:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Mac Deployment Issue</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/mac-deployment-issue/m-p/350775#M1760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying this right now. Thanks a lot Lucas!&lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2019 20:16:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/mac-deployment-issue/m-p/350775#M1760</guid>
      <dc:creator>SelimOzel</dc:creator>
      <dc:date>2019-10-07T20:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: Mac Deployment Issue</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/mac-deployment-issue/m-p/350776#M1761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks once again! Finally figured out how to deploy looking at sample deployment options. They have been very helpful both for Mac and for Windows so far.&lt;BR /&gt;&lt;BR /&gt;Best,&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2019 21:03:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/mac-deployment-issue/m-p/350776#M1761</guid>
      <dc:creator>SelimOzel</dc:creator>
      <dc:date>2019-10-07T21:03:31Z</dc:date>
    </item>
  </channel>
</rss>

