<?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: Using Qt Linux Deployment Tool to build an installation package in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/using-qt-linux-deployment-tool-to-build-an/m-p/638175#M3215</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;I am trying to run "./linuxdeployqt-6-x86_64.AppImage ../build-application-Desktop_Qt_5_13_0_GCC_64bit-Release/application"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Initially if I run the `ldd` command it says libEsriCommonQt.so =&amp;gt; not found and libruntimecore.so =&amp;gt; not found.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, to mitigate that I do `export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/arcgis/runtime_sdk/qt100.5/sdk/linux/x64/lib/`&lt;/P&gt;&lt;P&gt;and sudo ldconfig, which finds the path in the next ldd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But using the above command gives:&lt;/P&gt;&lt;P&gt;ERROR: ldd outputLine: "/arcgis/runtime_sdk/qt100.5/sdk/linux/x64/lib/libEsriCommonQt.so: /anaconda3/lib/libQt5Core.so.5: version `Qt_5.12' not found (required by /arcgis/runtime_sdk/qt100.5/sdk/linux/x64/lib/libEsriCommonQt.so)"&lt;BR /&gt;ERROR: for binary: "/arcgis/runtime_sdk/qt100.5/sdk/linux/x64/lib/libEsriCommonQt.so"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Running `objdump -x libEsriCommonQt.so | grep PATH`&lt;/P&gt;&lt;P&gt;gives me :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;objdump: 'libEsriCommonQt.so': No such file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Mar 2020 04:41:24 GMT</pubDate>
    <dc:creator>SakshamGupta</dc:creator>
    <dc:date>2020-03-20T04:41:24Z</dc:date>
    <item>
      <title>Using Qt Linux Deployment Tool to build an installation package</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/using-qt-linux-deployment-tool-to-build-an/m-p/638172#M3212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can I build an installation package for an ArcGIS application using qt linux deployment tool (&lt;A class="jivelink1" href="https://github.com/probonopd/linuxdeployqt" title="https://github.com/probonopd/linuxdeployqt"&gt;https://github.com/probonopd/linuxdeployqt&lt;/A&gt;). While trying to build it with Qt 5.13 and using ldd I am getting the following error:&lt;/P&gt;&lt;P&gt;./libEsriCommonQt.so: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.12' not found (required by ./libEsriCommonQt.so)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;is there any way to build the installer package using Qt 5.13?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2019 16:47:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/using-qt-linux-deployment-tool-to-build-an/m-p/638172#M3212</guid>
      <dc:creator>SakshamGupta</dc:creator>
      <dc:date>2019-09-12T16:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: Using Qt Linux Deployment Tool to build an installation package</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/using-qt-linux-deployment-tool-to-build-an/m-p/638173#M3213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saksham, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you give me a bit more info on:&lt;/P&gt;&lt;P&gt;* What is the exact `linuxdeployqt` command you are trying to run.&lt;/P&gt;&lt;P&gt;* If you run `objdump -x libEsriCommonQt.so | grep PATH` - what are the RPATH and RUNPATH values you see? The tool should have edited the runpath to display `RUNPATH $ORIGIN`&lt;/P&gt;&lt;P&gt;* Do you have patchelf and appimagetool installed? I believe these are prerequistes for linuxdeployqt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the looks of your error, libEsriCommonQt has not been correctly pulled and patched to point to the $ORIGIN folder, and so is instead falling back on the default Qt 5 installation that came with your OS. You can use `patchelf` to change the RUNPATH/RPATH of a library at-will and see if this works also. But it sounds more like a problem with linuxdeployqt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try running with debug-logging and see what it is attempting to do to patch libEsriCommonQt.so after it has been copied into the lib folder.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2019 15:54:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/using-qt-linux-deployment-tool-to-build-an/m-p/638173#M3213</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-09-20T15:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: Using Qt Linux Deployment Tool to build an installation package</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/using-qt-linux-deployment-tool-to-build-an/m-p/638174#M3214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To clarify, the issue here is not that ArcGISRuntime for Qt doesn't work with Qt 5.13. The issue is that the version of Qt found here: `/usr/lib/x86_64-linux-gnu/libQt5Core.so.5` is likely going to be Qt 5.6 or Qt 5.9. (Though you might need to confirm that for me.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2019 16:02:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/using-qt-linux-deployment-tool-to-build-an/m-p/638174#M3214</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-09-20T16:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: Using Qt Linux Deployment Tool to build an installation package</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/using-qt-linux-deployment-tool-to-build-an/m-p/638175#M3215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;I am trying to run "./linuxdeployqt-6-x86_64.AppImage ../build-application-Desktop_Qt_5_13_0_GCC_64bit-Release/application"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Initially if I run the `ldd` command it says libEsriCommonQt.so =&amp;gt; not found and libruntimecore.so =&amp;gt; not found.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, to mitigate that I do `export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/arcgis/runtime_sdk/qt100.5/sdk/linux/x64/lib/`&lt;/P&gt;&lt;P&gt;and sudo ldconfig, which finds the path in the next ldd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But using the above command gives:&lt;/P&gt;&lt;P&gt;ERROR: ldd outputLine: "/arcgis/runtime_sdk/qt100.5/sdk/linux/x64/lib/libEsriCommonQt.so: /anaconda3/lib/libQt5Core.so.5: version `Qt_5.12' not found (required by /arcgis/runtime_sdk/qt100.5/sdk/linux/x64/lib/libEsriCommonQt.so)"&lt;BR /&gt;ERROR: for binary: "/arcgis/runtime_sdk/qt100.5/sdk/linux/x64/lib/libEsriCommonQt.so"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Running `objdump -x libEsriCommonQt.so | grep PATH`&lt;/P&gt;&lt;P&gt;gives me :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;objdump: 'libEsriCommonQt.so': No such file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2020 04:41:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/using-qt-linux-deployment-tool-to-build-an/m-p/638175#M3215</guid>
      <dc:creator>SakshamGupta</dc:creator>
      <dc:date>2020-03-20T04:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: Using Qt Linux Deployment Tool to build an installation package</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/using-qt-linux-deployment-tool-to-build-an/m-p/638176#M3216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is `/anaconda3/lib/libQt5Core.so` the correct location of your Qt install? It seems likelyto me you have Qt libs that came with your OS that are conflicting with your current Qt libs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try adding &lt;CODE&gt;-qmake=&amp;lt;path&amp;gt; &lt;/CODE&gt;to your commands to point to the correct qmake binary to use, or set LD_LIBRARY_PATH to also point to the desired Qt libs as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, if I built and used Qt installed at `/home/Qt/5.13.0` then I need the qmake that exists at `/home/Qt/5.13.0/bin/qmake` to make sure that linuxdeployqt doesn't pick up the Qt libs that exist in my `/usr/lib/` directory.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2020 10:47:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/using-qt-linux-deployment-tool-to-build-an/m-p/638176#M3216</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-03-25T10:47:40Z</dc:date>
    </item>
  </channel>
</rss>

