<?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 ArcGIS Runtime for Qt.&amp;#160; syntax error : missing ';' before '*' when compiling rtsample.h in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/arcgis-runtime-for-qt-160-syntax-error-missing/m-p/428685#M2155</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Has anyone encountered this problem with the Qt runtime sample code?&lt;/P&gt;&lt;P&gt;When including the rtsample.h file in my map project, Qt creator throws a syntax error in the rtsample.h file.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;C:\Users\Steve\Documents\SDK\Projects\MyFirstMap\rtsample.h:73: error: C2143: syntax error : missing ';' before '*'&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;fails on Line 73: QTextEdit* &lt;SPAN style="color: #000000;"&gt;getSourceFile&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&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;QString&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;fileName&lt;SPAN style="color: #000000;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;It doesn't like the *, says there is a missing ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808000;"&gt;private&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE style="text-indent: 0px;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;&amp;nbsp; &lt;/SPAN&gt;QTextEdit&lt;SPAN style="color: #000000;"&gt;*&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;getSourceFile&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&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;QString&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;fileName&lt;SPAN style="color: #000000;"&gt;);&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE style="text-indent: 0px;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;void&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;addSourceTab&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&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;QString&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;fileName&lt;SPAN style="color: #000000;"&gt;);&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looks fine to me, same as the sample code, but won't compile.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using:&lt;/P&gt;&lt;P&gt;Qt-5.1.1-32,&lt;/P&gt;&lt;P&gt;qtcreator-3.1.2&lt;/P&gt;&lt;P&gt;arcgisruntime10.2.3&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any help much appreciated!&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 10 Aug 2014 11:12:55 GMT</pubDate>
    <dc:creator>StevenBowley1</dc:creator>
    <dc:date>2014-08-10T11:12:55Z</dc:date>
    <item>
      <title>ArcGIS Runtime for Qt.  syntax error : missing ';' before '*' when compiling rtsample.h</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/arcgis-runtime-for-qt-160-syntax-error-missing/m-p/428685#M2155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Has anyone encountered this problem with the Qt runtime sample code?&lt;/P&gt;&lt;P&gt;When including the rtsample.h file in my map project, Qt creator throws a syntax error in the rtsample.h file.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;C:\Users\Steve\Documents\SDK\Projects\MyFirstMap\rtsample.h:73: error: C2143: syntax error : missing ';' before '*'&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;fails on Line 73: QTextEdit* &lt;SPAN style="color: #000000;"&gt;getSourceFile&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&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;QString&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;fileName&lt;SPAN style="color: #000000;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;It doesn't like the *, says there is a missing ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808000;"&gt;private&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE style="text-indent: 0px;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;&amp;nbsp; &lt;/SPAN&gt;QTextEdit&lt;SPAN style="color: #000000;"&gt;*&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;getSourceFile&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&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;QString&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;fileName&lt;SPAN style="color: #000000;"&gt;);&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE style="text-indent: 0px;"&gt;&lt;SPAN style="color: #c0c0c0;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;void&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;addSourceTab&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&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;QString&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;fileName&lt;SPAN style="color: #000000;"&gt;);&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looks fine to me, same as the sample code, but won't compile.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using:&lt;/P&gt;&lt;P&gt;Qt-5.1.1-32,&lt;/P&gt;&lt;P&gt;qtcreator-3.1.2&lt;/P&gt;&lt;P&gt;arcgisruntime10.2.3&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any help much appreciated!&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Aug 2014 11:12:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/arcgis-runtime-for-qt-160-syntax-error-missing/m-p/428685#M2155</guid>
      <dc:creator>StevenBowley1</dc:creator>
      <dc:date>2014-08-10T11:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Runtime for Qt.  syntax error : missing ';' before '*' when compiling rtsample.h</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/arcgis-runtime-for-qt-160-syntax-error-missing/m-p/428686#M2156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the late reply. What exactly are you trying to do here? Are you trying to compile the Qt Sample App?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2014 18:02:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/arcgis-runtime-for-qt-160-syntax-error-missing/m-p/428686#M2156</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2014-12-15T18:02:48Z</dc:date>
    </item>
  </channel>
</rss>

