<?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: Include GeometryEngine in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/include-geometryengine/m-p/99492#M478</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow. Yeah... I was definitely a little confused, but it makes a lot more sense now! I appreciate your time and help with all of this!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jul 2020 22:01:39 GMT</pubDate>
    <dc:creator>johnmarker</dc:creator>
    <dc:date>2020-07-22T22:01:39Z</dc:date>
    <item>
      <title>Include GeometryEngine</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/include-geometryengine/m-p/99486#M472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a program that needs to use GeometryEngine. It is used in this line&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #c0c0c0;"&gt;        &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;const&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;Geometry&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #092e64;"&gt;pointGeom&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;=&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;GeometryEngine::normalizeCentralMeridian(clickedPoint);&lt;/PRE&gt;&lt;PRE&gt;When i try to&lt;PRE style="margin: 0px;"&gt;#&lt;SPAN style="color: #000080;"&gt;include&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&amp;lt;&lt;SPAN style="color: #008000;"&gt;GeometryEngine&lt;/SPAN&gt;&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;I get an error saying file not found. How to I get access to the the GeometryEngine class?&lt;BR /&gt;&lt;BR /&gt;p.s. I have similar issues with SimpleMarkerSymbol.&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2020 00:09:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/include-geometryengine/m-p/99486#M472</guid>
      <dc:creator>johnmarker</dc:creator>
      <dc:date>2020-07-22T00:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Include GeometryEngine</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/include-geometryengine/m-p/99487#M473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/411764" target="_blank"&gt;john marker&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;We provide some Qt project include files to set everything up. They are included in the ideintegration folder included with the setup. If you create one of our project templates, you can see how they look.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It usually looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;ARCGIS_RUNTIME_VERSION &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;100.8&lt;/SPAN&gt;
&lt;SPAN class="token function"&gt;include&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;$$PWD&lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt;arcgisruntime&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;pri&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;And then inside the arcgisruntime.pri file that comes with a template, it will include either&amp;nbsp;&lt;/P&gt;&lt;P&gt;sdk/ideintegration/esri_runtime_qt.pri (for Widgets)&lt;/P&gt;&lt;P&gt;sdk/ideintegration/arcgis_runtime_qml_cpp.pri (for Qt Quick)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can alternately include either of those files directly in your Qt project. &lt;BR /&gt;Those will setup your compiler include paths as well as the linker paths.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let us know if that gets things working for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 06:11:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/include-geometryengine/m-p/99487#M473</guid>
      <dc:creator>JamesBallard1</dc:creator>
      <dc:date>2021-12-11T06:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: Include GeometryEngine</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/include-geometryengine/m-p/99488#M474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh Wait. When I #include these classes like GeometryEngine I'm wanting to include their .h files, so it would be&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;#&lt;SPAN style="color: #000080;"&gt;include&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&amp;lt;&lt;SPAN style="color: #008000;"&gt;GeometryEngine&lt;/SPAN&gt;.&lt;SPAN style="color: #008000;"&gt;h&lt;/SPAN&gt;&amp;gt;
rather than 
&lt;PRE class="lia-code-sample line-numbers language-none"&gt;#&lt;SPAN style="color: #000080;"&gt;include&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&amp;lt;&lt;SPAN style="color: #008000;"&gt;GeometryEngine&lt;/SPAN&gt;&amp;gt;

So if in my program I'm wanting to access a member variable from one of these classes, lets say I want to use m_polylineBuilder, then when I include 
#&lt;SPAN style="color: #000080;"&gt;include&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&amp;lt;&lt;SPAN style="color: #008000;"&gt;PolylineBuilder&lt;/SPAN&gt;.&lt;SPAN style="color: #008000;"&gt;h&lt;/SPAN&gt;&amp;gt; that will get me access to the m_polylineBuilder member variable?&lt;/PRE&gt;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 06:11:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/include-geometryengine/m-p/99488#M474</guid>
      <dc:creator>johnmarker</dc:creator>
      <dc:date>2021-12-11T06:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: Include GeometryEngine</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/include-geometryengine/m-p/99489#M475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you got it. We provide .h extension header files, so they must be included with the extension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, you'd include PolylineBuilder.h to get access to that class and have a m_polylineBuilder member variable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2020 16:14:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/include-geometryengine/m-p/99489#M475</guid>
      <dc:creator>JamesBallard1</dc:creator>
      <dc:date>2020-07-22T16:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: Include GeometryEngine</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/include-geometryengine/m-p/99490#M476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your help!&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just have one more question. Is there a link to see the .h file of these classes to see what member variables are already declared? For example, to see if m_polylineBuilder is declared and initialized in the .h file or do most of the classes not have member variables to use and I would have to declare and initialize the variable on my own?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reason for this, I assumed m_polylineBuilder was a default member variable within the class. I tried to use it, however I got an error saying it was undeclared. Once I added&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800080;"&gt;PolylineBuilder&lt;/SPAN&gt;*&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #092e64;"&gt;m_polylineBuilder&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;=&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;nullptr&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;I also could not declare it with&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #800080;"&gt;Esri&lt;/SPAN&gt;::&lt;SPAN style="color: #800080;"&gt;ArcGISRuntime&lt;/SPAN&gt;::&lt;SPAN style="color: #800080;"&gt;PolylineBuilder&lt;/SPAN&gt;*&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;m_polylineBuilder&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;=&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-weight: 600;"&gt;Esri&lt;/SPAN&gt;::&lt;SPAN style="color: #800080; font-weight: 600;"&gt;ArcGISRuntime&lt;/SPAN&gt;::&lt;SPAN style="color: #800080; font-weight: 600;"&gt;PolylineBuilder&lt;/SPAN&gt;(this);;&lt;/PRE&gt;&lt;P&gt;Then it worked. But I would have thought this would have been taken care of in the .h file and when i include &amp;lt;polylineBuilder.h&amp;gt; then I would have access to it?&lt;/P&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2020 16:52:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/include-geometryengine/m-p/99490#M476</guid>
      <dc:creator>johnmarker</dc:creator>
      <dc:date>2020-07-22T16:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: Include GeometryEngine</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/include-geometryengine/m-p/99491#M477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/411764" target="_blank"&gt;john marker&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;It sounds like there is some confusion about some C++ concepts. The Runtime SDK headers provide the declaration of the classes, but as the consumer of these objects, it is your responsibility to make sure they are initialized properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&lt;SPAN style="background-color: #ffffff;"&gt;I assumed m_polylineBuilder was a default member variable within the class&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which class? I assume that is a class you are working with and not one of the classes/files that are included with the Runtime SDK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's an example of creating a PolylineBuilder object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Header file:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;namespace&lt;/SPAN&gt; Esri
&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;namespace&lt;/SPAN&gt; ArcGISRuntime
&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;class&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;Map&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;class&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;MapQuickView&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;class&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;PolylineBuilder&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// &amp;lt;====== forward declaration&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;

&lt;SPAN class="property macro token"&gt;#include &lt;SPAN class="string token"&gt;&amp;lt;QObject&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;

&lt;SPAN class="keyword token"&gt;class&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;Untitled107&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;public&lt;/SPAN&gt; QObject
&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
  Q_OBJECT

  &lt;SPAN class="token function"&gt;Q_PROPERTY&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;Esri&lt;SPAN class="operator token"&gt;::&lt;/SPAN&gt;ArcGISRuntime&lt;SPAN class="operator token"&gt;::&lt;/SPAN&gt;MapQuickView&lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt; mapView READ mapView WRITE setMapView NOTIFY mapViewChanged&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

&lt;SPAN class="keyword token"&gt;public&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;:&lt;/SPAN&gt;
  &lt;SPAN class="keyword token"&gt;explicit&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;Untitled107&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;QObject&lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt; parent &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;nullptr&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
  &lt;SPAN class="operator token"&gt;~&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Untitled107&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; override&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

signals&lt;SPAN class="operator token"&gt;:&lt;/SPAN&gt;
  &lt;SPAN class="keyword token"&gt;void&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;mapViewChanged&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="keyword token"&gt;private&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;:&lt;/SPAN&gt;
  Esri&lt;SPAN class="operator token"&gt;::&lt;/SPAN&gt;ArcGISRuntime&lt;SPAN class="operator token"&gt;::&lt;/SPAN&gt;MapQuickView&lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;mapView&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;const&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
  &lt;SPAN class="keyword token"&gt;void&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;setMapView&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;Esri&lt;SPAN class="operator token"&gt;::&lt;/SPAN&gt;ArcGISRuntime&lt;SPAN class="operator token"&gt;::&lt;/SPAN&gt;MapQuickView&lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt; mapView&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

  Esri&lt;SPAN class="operator token"&gt;::&lt;/SPAN&gt;ArcGISRuntime&lt;SPAN class="operator token"&gt;::&lt;/SPAN&gt;PolylineBuilder&lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt; m_polyBuilder &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;nullptr&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// &amp;lt;====== declared as a member variable for this project&lt;/SPAN&gt;
  Esri&lt;SPAN class="operator token"&gt;::&lt;/SPAN&gt;ArcGISRuntime&lt;SPAN class="operator token"&gt;::&lt;/SPAN&gt;Map&lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt; m_map &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;nullptr&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
  Esri&lt;SPAN class="operator token"&gt;::&lt;/SPAN&gt;ArcGISRuntime&lt;SPAN class="operator token"&gt;::&lt;/SPAN&gt;MapQuickView&lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt; m_mapView &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;nullptr&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&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;/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;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;/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;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;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then in the .cpp file, you can include the header and initialize the object&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="property macro token"&gt;#include &lt;SPAN class="string token"&gt;"Untitled107.h"&lt;/SPAN&gt;&lt;/SPAN&gt;

&lt;SPAN class="property macro token"&gt;#include &lt;SPAN class="string token"&gt;"Basemap.h"&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class="property macro token"&gt;#include &lt;SPAN class="string token"&gt;"Map.h"&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class="property macro token"&gt;#include &lt;SPAN class="string token"&gt;"MapQuickView.h"&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class="property macro token"&gt;#include &lt;SPAN class="string token"&gt;"PolylineBuilder.h"&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class="comment token"&gt;// &amp;lt;=== include Runtime SDK header for this object&lt;/SPAN&gt;

&lt;SPAN class="property macro token"&gt;#include &lt;SPAN class="string token"&gt;&amp;lt;QUrl&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;

&lt;SPAN class="keyword token"&gt;using&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;namespace&lt;/SPAN&gt; Esri&lt;SPAN class="operator token"&gt;::&lt;/SPAN&gt;ArcGISRuntime&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

Untitled107&lt;SPAN class="operator token"&gt;::&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Untitled107&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;QObject&lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt; parent &lt;SPAN class="comment token"&gt;/* = nullptr */&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;:&lt;/SPAN&gt;
  &lt;SPAN class="token function"&gt;QObject&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;parent&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
  &lt;SPAN class="token function"&gt;m_polyBuilder&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;PolylineBuilder&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;SpatialReference&lt;SPAN class="operator token"&gt;::&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;wgs84&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// &amp;lt;=== initialize the object&lt;/SPAN&gt;
  &lt;SPAN class="token function"&gt;m_map&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;Map&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;Basemap&lt;SPAN class="operator token"&gt;::&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;topographic&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;

Untitled107&lt;SPAN class="operator token"&gt;::&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;~&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Untitled107&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;

‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&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;/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;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;/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;P&gt;&lt;/P&gt;&lt;P&gt;This is an example of adding a PolylineBuilder to one of our template projects.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 06:11:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/include-geometryengine/m-p/99491#M477</guid>
      <dc:creator>JamesBallard1</dc:creator>
      <dc:date>2021-12-11T06:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: Include GeometryEngine</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/include-geometryengine/m-p/99492#M478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow. Yeah... I was definitely a little confused, but it makes a lot more sense now! I appreciate your time and help with all of this!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2020 22:01:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/include-geometryengine/m-p/99492#M478</guid>
      <dc:creator>johnmarker</dc:creator>
      <dc:date>2020-07-22T22:01:39Z</dc:date>
    </item>
  </channel>
</rss>

