<?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:   Build an application using cmake in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/build-an-application-using-cmake/m-p/434577#M2201</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel, we are now shipping CMake templates with 100.8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need something quick and dirty right now though, this might put you in the right direction:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="color: #d4d4d4; background-color: #1e1e1e; font-family: 'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'; font-weight: normal; font-size: 14px; line-height: 19px; white-space: pre;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;cmake_minimum_required&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(VERSION 3.5)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;project&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(example_cmake LANGUAGES CXX)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;set&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;CMAKE_INCLUDE_CURRENT_DIR&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;ON&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;set&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(CMAKE_AUTOUIC &lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;OFF&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;set&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;CMAKE_AUTOMOC&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;ON&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;set&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(CMAKE_AUTORCC &lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;ON&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;set&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(CMAKE_CXX_STANDARD 14)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;set&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(CMAKE_CXX_STANDARD_REQUIRED &lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;ON&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;find_package&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(Qt5 COMPONENTS REQUIRED Core Quick Multimedia Positioning Sensors Widgets)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;set&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #f44747;"&gt;SOURCE_FILES&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; main.cpp&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; Cmake_example.cpp&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; qml/qml.qrc&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; Resources/Resources.qrc)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(ANDROID)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt; add_library&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(example_cmake SHARED &lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;${SOURCE_FILES}&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;else&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;()&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt; add_executable&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(example_cmake &lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;${SOURCE_FILES}&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;endif&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;()&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;target_compile_definitions&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(example_cmake&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; PRIVATE $&amp;lt;$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;OR&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;:$&amp;lt;CONFIG:Debug&amp;gt;,$&amp;lt;CONFIG:RelWithDebInfo&amp;gt;&amp;gt;:QT_QML_DEBUG&amp;gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;set&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(ARCGIS_LOCATION &lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;"$ENV{HOME}/arcgis/runtime_sdk/qt100.7/sdk"&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;add_library&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(ArcGISRuntime STATIC IMPORTED)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;set_property&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(TARGET ArcGISRuntime PROPERTY IMPORTED_LOCATION &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ce9178;"&gt; "${ARCGIS_LOCATION}/linux/x64/lib/libEsriRuntimeQt.a"&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;set_property&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(TARGET ArcGISRuntime PROPERTY IMPORTED_IMPLIB &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ce9178;"&gt; "${ARCGIS_LOCATION}/linux/x64/lib/libEsriRuntimeQt.a"&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;set_property&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(TARGET ArcGISRuntime PROPERTY INTERFACE_LINK_LIBRARIES &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ce9178;"&gt; "${ARCGIS_LOCATION}/linux/x64/lib/libruntimecore.so"&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ce9178;"&gt; "${ARCGIS_LOCATION}/linux/x64/lib/libEsriCommonQt.so"&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;set_property&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(TARGET ArcGISRuntime PROPERTY INTERFACE_INCLUDE_DIRECTORIES &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ce9178;"&gt; "${ARCGIS_LOCATION}/include"&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;target_compile_definitions&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(ArcGISRuntime INTERFACE&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; ARCGIS_RUNTIME_IMPORT_PATH=&lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;${ARCGIS_LOCATION}&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;/LINUX_PLATFORM_REPLACEMENT/x64/qml&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; ARCGIS_TOOLKIT_IMPORT_PATH=&lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;${ARCGIS_LOCATION}&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;/toolkit/Import&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; LINUX_PLATFORM_REPLACEMENT=linux)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;target_link_libraries&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(example_cmake PRIVATE&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; Qt5::Core&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; Qt5::Quick&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; Qt5::Multimedia&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; Qt5::Positioning&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; Qt5::Sensors&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; Qt5::Widgets&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; ArcGISRuntime)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jan 2020 18:01:13 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2020-01-30T18:01:13Z</dc:date>
    <item>
      <title>Build an application using cmake</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/build-an-application-using-cmake/m-p/434573#M2197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ESRI, I have tried to build an ArcGIS qt application with cmake command , I have successfully compiled the project and link it, but after I have received some messages that&amp;nbsp; my computer couldn't find some ArcGIS qml libraries. How can I fix it? Cmake example and the errors below!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some code from main.cpp :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QString arcGISRuntimeImportPath; &lt;BR /&gt;&amp;nbsp; QString arcGISToolkitImportPath;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;#if defined(LINUX_PLATFORM_REPLACEMENT)&lt;BR /&gt;&amp;nbsp; // on some linux platforms the string 'linux' is replaced with 1&lt;BR /&gt;&amp;nbsp; // fix the replacement paths which were created&lt;BR /&gt;&amp;nbsp; arcGISRuntimeImportPath = "../For_the_map/qt100.1/sdk/linux/x64/qml"; &lt;BR /&gt;&amp;nbsp; arcGISToolkitImportPath = "../For_the_map/qt100.1/sdk/toolkit/Import";&lt;BR /&gt;&amp;nbsp;#endif&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; // Add the Runtime and Extras path&lt;BR /&gt;&amp;nbsp; view.engine()-&amp;gt;addImportPath(arcGISRuntimeImportPath);&lt;BR /&gt;&amp;nbsp; // Add the Toolkit path&lt;BR /&gt;&amp;nbsp; view.engine()-&amp;gt;addImportPath(arcGISToolkitImportPath);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; // Set the source &lt;BR /&gt;&amp;nbsp; view.setSource(QUrl("../For_the_map/Simple_Renderer/Simple_Renderer.qml"));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are the messages:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;file:///home/asus/Desktop/For_the_map/Simple_Renderer/Simple_Renderer.qml:20:1: module "Esri.ArcGISRuntime.Toolkit.Controls" is not installed &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; import Esri.ArcGISRuntime.Toolkit.Controls 100.1 &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ^&lt;BR /&gt;file:///home/asus/Desktop/For_the_map/Simple_Renderer/Simple_Renderer.qml:21:1: module "Esri.ArcGISExtras" is not installed &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; import Esri.ArcGISExtras 1.1 &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ^&lt;BR /&gt;file:///home/asus/Desktop/For_the_map/Simple_Renderer/Simple_Renderer.qml:20:1: module "Esri.ArcGISRuntime.Toolkit.Controls" is not installed &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; import Esri.ArcGISRuntime.Toolkit.Controls 100.1 &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ^&lt;BR /&gt;file:///home/asus/Desktop/For_the_map/Simple_Renderer/Simple_Renderer.qml:21:1: module "Esri.ArcGISExtras" is not installed &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; import Esri.ArcGISExtras 1.1 &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2017 13:24:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/build-an-application-using-cmake/m-p/434573#M2197</guid>
      <dc:creator>GeorgeArnaut</dc:creator>
      <dc:date>2017-12-20T13:24:21Z</dc:date>
    </item>
    <item>
      <title>Re:   Build an application using cmake</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/build-an-application-using-cmake/m-p/434574#M2198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi George, are you running on linux?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that "&lt;SPAN style="background-color: #ffffff;"&gt;LINUX_PLATFORM_REPLACEMENT" may not be defined in your project if you are building with cmake. We set this in one of our .pri files which is used by qmake/qtcreator and I am not 100% sure that will be used by your cmake project.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;It's probably worth adding some print statements so that you can confirm the import paths are correct (e.g.&amp;nbsp;&lt;SPAN&gt;arcGISRuntimeImportPath and &lt;SPAN style="background-color: #ffffff;"&gt;arcGISToolkitImportPath).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;You can also set the environment variable "&lt;CODE style="border: 0px; font-size: 16px;"&gt;QML_IMPORT_TRACE&lt;/CODE&gt;&lt;SPAN style="color: #404244;"&gt;&lt;SPAN&gt;"&amp;nbsp; (see&amp;nbsp;&lt;A class="link-titled" href="http://doc.qt.io/qt-5/qtqml-syntax-imports.html" title="http://doc.qt.io/qt-5/qtqml-syntax-imports.html"&gt;Import Statements | Qt QML 5.10&lt;/A&gt;&amp;nbsp;) to try and debug what is going on.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I hope that helps,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Luke&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2017 14:42:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/build-an-application-using-cmake/m-p/434574#M2198</guid>
      <dc:creator>LukeSmallwood</dc:creator>
      <dc:date>2017-12-20T14:42:58Z</dc:date>
    </item>
    <item>
      <title>Re:   Build an application using cmake</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/build-an-application-using-cmake/m-p/434575#M2199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, I add this lines to my cmake, I build everything!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jan 2018 10:57:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/build-an-application-using-cmake/m-p/434575#M2199</guid>
      <dc:creator>GeorgeArnaut</dc:creator>
      <dc:date>2018-01-15T10:57:08Z</dc:date>
    </item>
    <item>
      <title>Re:   Build an application using cmake</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/build-an-application-using-cmake/m-p/434576#M2200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi George, could you please kindly share your example cmake file. I'm trying to do something similar using cmake and visual studio code but I can't get it to compile&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2020 17:43:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/build-an-application-using-cmake/m-p/434576#M2200</guid>
      <dc:creator>DanielBabatunde</dc:creator>
      <dc:date>2020-01-29T17:43:10Z</dc:date>
    </item>
    <item>
      <title>Re:   Build an application using cmake</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/build-an-application-using-cmake/m-p/434577#M2201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel, we are now shipping CMake templates with 100.8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need something quick and dirty right now though, this might put you in the right direction:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="color: #d4d4d4; background-color: #1e1e1e; font-family: 'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'; font-weight: normal; font-size: 14px; line-height: 19px; white-space: pre;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;cmake_minimum_required&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(VERSION 3.5)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;project&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(example_cmake LANGUAGES CXX)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;set&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;CMAKE_INCLUDE_CURRENT_DIR&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;ON&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;set&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(CMAKE_AUTOUIC &lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;OFF&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;set&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;CMAKE_AUTOMOC&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;ON&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;set&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(CMAKE_AUTORCC &lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;ON&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;set&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(CMAKE_CXX_STANDARD 14)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;set&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(CMAKE_CXX_STANDARD_REQUIRED &lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;ON&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;find_package&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(Qt5 COMPONENTS REQUIRED Core Quick Multimedia Positioning Sensors Widgets)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;set&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #f44747;"&gt;SOURCE_FILES&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; main.cpp&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; Cmake_example.cpp&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; qml/qml.qrc&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; Resources/Resources.qrc)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(ANDROID)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt; add_library&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(example_cmake SHARED &lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;${SOURCE_FILES}&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;else&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;()&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt; add_executable&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(example_cmake &lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;${SOURCE_FILES}&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;endif&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;()&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;target_compile_definitions&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(example_cmake&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; PRIVATE $&amp;lt;$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;OR&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;:$&amp;lt;CONFIG:Debug&amp;gt;,$&amp;lt;CONFIG:RelWithDebInfo&amp;gt;&amp;gt;:QT_QML_DEBUG&amp;gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;set&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(ARCGIS_LOCATION &lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;"$ENV{HOME}/arcgis/runtime_sdk/qt100.7/sdk"&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;add_library&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(ArcGISRuntime STATIC IMPORTED)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;set_property&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(TARGET ArcGISRuntime PROPERTY IMPORTED_LOCATION &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ce9178;"&gt; "${ARCGIS_LOCATION}/linux/x64/lib/libEsriRuntimeQt.a"&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;set_property&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(TARGET ArcGISRuntime PROPERTY IMPORTED_IMPLIB &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ce9178;"&gt; "${ARCGIS_LOCATION}/linux/x64/lib/libEsriRuntimeQt.a"&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;set_property&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(TARGET ArcGISRuntime PROPERTY INTERFACE_LINK_LIBRARIES &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ce9178;"&gt; "${ARCGIS_LOCATION}/linux/x64/lib/libruntimecore.so"&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ce9178;"&gt; "${ARCGIS_LOCATION}/linux/x64/lib/libEsriCommonQt.so"&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;set_property&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(TARGET ArcGISRuntime PROPERTY INTERFACE_INCLUDE_DIRECTORIES &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ce9178;"&gt; "${ARCGIS_LOCATION}/include"&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;target_compile_definitions&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(ArcGISRuntime INTERFACE&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; ARCGIS_RUNTIME_IMPORT_PATH=&lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;${ARCGIS_LOCATION}&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;/LINUX_PLATFORM_REPLACEMENT/x64/qml&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; ARCGIS_TOOLKIT_IMPORT_PATH=&lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;${ARCGIS_LOCATION}&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;/toolkit/Import&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; LINUX_PLATFORM_REPLACEMENT=linux)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN style="color: #569cd6;"&gt;target_link_libraries&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(example_cmake PRIVATE&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; Qt5::Core&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; Qt5::Quick&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; Qt5::Multimedia&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; Qt5::Positioning&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; Qt5::Sensors&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; Qt5::Widgets&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt; ArcGISRuntime)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2020 18:01:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/build-an-application-using-cmake/m-p/434577#M2201</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-01-30T18:01:13Z</dc:date>
    </item>
    <item>
      <title>Re:   Build an application using cmake</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/build-an-application-using-cmake/m-p/434578#M2202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Neil, that was very helpful.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2020 11:02:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/build-an-application-using-cmake/m-p/434578#M2202</guid>
      <dc:creator>DanielBabatunde</dc:creator>
      <dc:date>2020-01-31T11:02:36Z</dc:date>
    </item>
  </channel>
</rss>

