ArcGIS Runtime for Qt.  syntax error : missing ';' before '*' when compiling rtsample.h

2454
1
08-10-2014 04:12 AM
StevenBowley1
New Contributor II

Hello,

Has anyone encountered this problem with the Qt runtime sample code?

When including the rtsample.h file in my map project, Qt creator throws a syntax error in the rtsample.h file.

 

C:\Users\Steve\Documents\SDK\Projects\MyFirstMap\rtsample.h:73: error: C2143: syntax error : missing ';' before '*'

 

fails on Line 73: QTextEdit* getSourceFile(const QString& fileName);

 

It doesn't like the *, says there is a missing ;

 

private:

  QTextEdit* getSourceFile(const QString& fileName);
  void addSourceTab(const QString& fileName);

 

Looks fine to me, same as the sample code, but won't compile.

 

Using:

Qt-5.1.1-32,

qtcreator-3.1.2

arcgisruntime10.2.3

 

any help much appreciated!

 

Steve

Tags (2)
0 Kudos
1 Reply
LucasDanzinger
Esri Frequent Contributor

Hey Steve,

Sorry for the late reply. What exactly are you trying to do here? Are you trying to compile the Qt Sample App?

0 Kudos