qtlocation failed to compile :(

  In file included from maps/qgeocameradata.cpp:41:0:
  maps/qgeocameradata_p.h:66:25: error: variable 
'TestNamespace::Q_LOCATION_EXPORT TestNamespace::QGeoCameraData' has 
initializer but incomplete type
  maps/qgeocameradata_p.h:68:1: error: expected primary-expression before 
'public'
  maps/qgeocameradata_p.h:68:1: error: expected '}' before 'public'
  maps/qgeocameradata_p.h:68:1: error: expected ',' or ';' before 'public'
  maps/qgeocameradata_p.h:70:26: error: 'QGeoCameraData' does not name a type
  maps/qgeocameradata_p.h:70:42: error: ISO C++ forbids declaration of 'other' 
with no type [-fpermissive]
  maps/qgeocameradata_p.h:70:48: error: expected constructor, destructor, or 
type conversion before ';' token
  maps/qgeocameradata_p.h:71:20: error: expected class-name before '(' token
  maps/qgeocameradata_p.h:73:5: error: 'QGeoCameraData' does not name a type
  maps/qgeocameradata_p.h:75:29: error: 'QGeoCameraData' does not name a type
  maps/qgeocameradata_p.h:75:45: error: ISO C++ forbids declaration of 'other' 
with no type [-fpermissive]
  maps/qgeocameradata_p.h:75:52: error: non-member function 'bool 
TestNamespace::operator==(const int&)' cannot have cv-qualifier
  maps/qgeocameradata_p.h:75:52: error: 'bool TestNamespace::operator==(const 
int&)' must have an argument of class or enumerated type
  maps/qgeocameradata_p.h:76:29: error: 'QGeoCameraData' does not name a type
  maps/qgeocameradata_p.h:76:45: error: ISO C++ forbids declaration of 'other' 
with no type [-fpermissive]
  maps/qgeocameradata_p.h:76:52: error: non-member function 'bool 
TestNamespace::operator!=(const int&)' cannot have cv-qualifier
  maps/qgeocameradata_p.h:76:52: error: 'bool TestNamespace::operator!=(const 
int&)' must have an argument of class or enumerated type
  maps/qgeocameradata_p.h:79:29: error: non-member function 
'TestNamespace::QGeoCoordinate TestNamespace::center()' cannot have cv-qualifier
  maps/qgeocameradata_p.h:82:22: error: non-member function 'double 
TestNamespace::bearing()' cannot have cv-qualifier
  maps/qgeocameradata_p.h:85:19: error: non-member function 'double 
TestNamespace::tilt()' cannot have cv-qualifier
  maps/qgeocameradata_p.h:88:19: error: non-member function 'double 
TestNamespace::roll()' cannot have cv-qualifier
  maps/qgeocameradata_p.h:91:24: error: non-member function 'double 
TestNamespace::zoomLevel()' cannot have cv-qualifier
  maps/qgeocameradata_p.h:93:1: error: expected unqualified-id before 'private'
  maps/qgeocameradata_p.h:97:1: error: expected declaration before '}' token
  make[3]: *** [.obj/debug-shared/qgeocameradata.o] Error 1
  In file included from maps/qgeomapcontroller_p.h:58:0,
                   from maps/qgeomapcontroller.cpp:42:
  maps/qgeocameradata_p.h:66:25: error: variable 
'TestNamespace::Q_LOCATION_EXPORT TestNamespace::QGeoCameraData' has 
initializer but incomplete type
  maps/qgeocameradata_p.h:68:1: error: expected primary-expression before 
'public'
  maps/qgeocameradata_p.h:68:1: error: expected '}' before 'public'
  maps/qgeocameradata_p.h:68:1: error: expected ',' or ';' before 'public'
  maps/qgeocameradata_p.h:70:26: error: 'QGeoCameraData' does not name a type
  maps/qgeocameradata_p.h:70:42: error: ISO C++ forbids declaration of 'other' 
with no type [-fpermissive]
  maps/qgeocameradata_p.h:70:48: error: expected constructor, destructor, or 
type conversion before ';' token
  maps/qgeocameradata_p.h:71:20: error: expected class-name before '(' token
  maps/qgeocameradata_p.h:73:5: error: 'QGeoCameraData' does not name a type
  maps/qgeocameradata_p.h:75:29: error: 'QGeoCameraData' does not name a type
  maps/qgeocameradata_p.h:75:45: error: ISO C++ forbids declaration of 'other' 
with no type [-fpermissive]
  maps/qgeocameradata_p.h:75:52: error: non-member function 'bool 
TestNamespace::operator==(const int&)' cannot have cv-qualifier
  maps/qgeocameradata_p.h:75:52: error: 'bool TestNamespace::operator==(const 
int&)' must have an argument of class or enumerated type
  maps/qgeocameradata_p.h:76:29: error: 'QGeoCameraData' does not name a type
  maps/qgeocameradata_p.h:76:45: error: ISO C++ forbids declaration of 'other' 
with no type [-fpermissive]
  maps/qgeocameradata_p.h:76:52: error: non-member function 'bool 
TestNamespace::operator!=(const int&)' cannot have cv-qualifier
  maps/qgeocameradata_p.h:76:52: error: 'bool TestNamespace::operator!=(const 
int&)' must have an argument of class or enumerated type
  maps/qgeocameradata_p.h:79:29: error: non-member function 
'TestNamespace::QGeoCoordinate TestNamespace::center()' cannot have cv-qualifier
  maps/qgeocameradata_p.h:82:22: error: non-member function 'double 
TestNamespace::bearing()' cannot have cv-qualifier
  maps/qgeocameradata_p.h:85:19: error: non-member function 'double 
TestNamespace::tilt()' cannot have cv-qualifier
  maps/qgeocameradata_p.h:88:19: error: non-member function 'double 
TestNamespace::roll()' cannot have cv-qualifier
  maps/qgeocameradata_p.h:91:24: error: non-member function 'double 
TestNamespace::zoomLevel()' cannot have cv-qualifier
  maps/qgeocameradata_p.h:93:1: error: expected unqualified-id before 'private'
  maps/qgeocameradata_p.h:97:1: error: expected declaration before '}' token
  make[3]: *** [.obj/debug-shared/qgeomapcontroller.o] Error 1
  In file included from maps/qgeomap_p.h:57:0,
                   from maps/qgeomap.cpp:42:
  maps/qgeocameradata_p.h:66:25: error: variable 
'TestNamespace::Q_LOCATION_EXPORT TestNamespace::QGeoCameraData' has 
initializer but incomplete type
  maps/qgeocameradata_p.h:68:1: error: expected primary-expression before 
'public'
  maps/qgeocameradata_p.h:68:1: error: expected '}' before 'public'
  maps/qgeocameradata_p.h:68:1: error: expected ',' or ';' before 'public'
  maps/qgeocameradata_p.h:70:26: error: 'QGeoCameraData' does not name a type
  maps/qgeocameradata_p.h:70:42: error: ISO C++ forbids declaration of 'other' 
with no type [-fpermissive]
  maps/qgeocameradata_p.h:70:48: error: expected constructor, destructor, or 
type conversion before ';' token
  maps/qgeocameradata_p.h:71:20: error: expected class-name before '(' token
  maps/qgeocameradata_p.h:73:5: error: 'QGeoCameraData' does not name a type
  maps/qgeocameradata_p.h:75:29: error: 'QGeoCameraData' does not name a type
  maps/qgeocameradata_p.h:75:45: error: ISO C++ forbids declaration of 'other' 
with no type [-fpermissive]
  maps/qgeocameradata_p.h:75:52: error: non-member function 'bool 
TestNamespace::operator==(const int&)' cannot have cv-qualifier
  maps/qgeocameradata_p.h:75:52: error: 'bool TestNamespace::operator==(const 
int&)' must have an argument of class or enumerated type
  maps/qgeocameradata_p.h:76:29: error: 'QGeoCameraData' does not name a type
  maps/qgeocameradata_p.h:76:45: error: ISO C++ forbids declaration of 'other' 
with no type [-fpermissive]
  maps/qgeocameradata_p.h:76:52: error: non-member function 'bool 
TestNamespace::operator!=(const int&)' cannot have cv-qualifier
  maps/qgeocameradata_p.h:76:52: error: 'bool TestNamespace::operator!=(const 
int&)' must have an argument of class or enumerated type
  maps/qgeocameradata_p.h:79:29: error: non-member function 
'TestNamespace::QGeoCoordinate TestNamespace::center()' cannot have cv-qualifier
  maps/qgeocameradata_p.h:82:22: error: non-member function 'double 
TestNamespace::bearing()' cannot have cv-qualifier
  maps/qgeocameradata_p.h:85:19: error: non-member function 'double 
TestNamespace::tilt()' cannot have cv-qualifier
  maps/qgeocameradata_p.h:88:19: error: non-member function 'double 
TestNamespace::roll()' cannot have cv-qualifier
  maps/qgeocameradata_p.h:91:24: error: non-member function 'double 
TestNamespace::zoomLevel()' cannot have cv-qualifier
  maps/qgeocameradata_p.h:93:1: error: expected unqualified-id before 'private'
  maps/qgeocameradata_p.h:97:1: error: expected declaration before '}' token
  make[3]: *** [.obj/debug-shared/qgeomap.o] Error 1
  In file included from /work/build/qt/qtbase/include/QtCore/qalgorithms.h:1:0,
                   from 
/work/build/qt/qtbase/include/QtCore/../../src/corelib/tools/qlist.h:45,
                   from /work/build/qt/qtbase/include/QtCore/qlist.h:1,
                   from 
/work/build/qt/qtbase/include/QtCore/../../src/corelib/tools/qhash.h:47,
                   from /work/build/qt/qtbase/include/QtCore/qhash.h:1,
                   from 
/work/build/qt/qtbase/include/QtCore/../../src/corelib/tools/qset.h:45,
                   from /work/build/qt/qtbase/include/QtCore/qset.h:1,
                   from /work/build/qt/qtbase/include/QtCore/QSet:1,
                   from maps/qgeocameratiles_p.h:56,
                   from maps/qgeocameratiles.cpp:41:
  In file included from /work/build/qt/qtbase/include/QtCore/qalgorithms.h:1:0,
                   from 
/work/build/qt/qtbase/include/QtCore/../../src/corelib/tools/qlist.h:45,
                   from /work/build/qt/qtbase/include/QtCore/qlist.h:1,
                   from 
/work/build/qt/qtbase/include/QtCore/../../src/corelib/tools/qhash.h:47,
                   from /work/build/qt/qtbase/include/QtCore/qhash.h:1,
                   from 
/work/build/qt/qtbase/include/QtCore/../../src/corelib/tools/qset.h:45,
                   from /work/build/qt/qtbase/include/QtCore/qset.h:1,
                   from /work/build/qt/qtbase/include/QtCore/QSet:1,
                   from maps/qgeocameratiles_p.h:56,
                   from maps/qgeocameratiles.cpp:41:
  In file included from maps/qgeomapdata_p.h:57:0,
                   from maps/qgeotiledmapdata_p.h:58,
                   from maps/qgeotiledmapdata.cpp:41:
  maps/qgeocameradata_p.h:66:25: error: variable 
'TestNamespace::Q_LOCATION_EXPORT TestNamespace::QGeoCameraData' has 
initializer but incomplete type
  maps/qgeocameradata_p.h:68:1: error: expected primary-expression before 
'public'
  maps/qgeocameradata_p.h:68:1: error: expected '}' before 'public'
  maps/qgeocameradata_p.h:68:1: error: expected ',' or ';' before 'public'
  maps/qgeocameradata_p.h:70:26: error: 'QGeoCameraData' does not name a type
  maps/qgeocameradata_p.h:70:42: error: ISO C++ forbids declaration of 'other' 
with no type [-fpermissive]
  maps/qgeocameradata_p.h:70:48: error: expected constructor, destructor, or 
type conversion before ';' token
  maps/qgeocameradata_p.h:71:20: error: expected class-name before '(' token
  maps/qgeocameradata_p.h:73:5: error: 'QGeoCameraData' does not name a type
  maps/qgeocameradata_p.h:75:29: error: 'QGeoCameraData' does not name a type
  maps/qgeocameradata_p.h:75:45: error: ISO C++ forbids declaration of 'other' 
with no type [-fpermissive]
  maps/qgeocameradata_p.h:75:52: error: non-member function 'bool 
TestNamespace::operator==(const int&)' cannot have cv-qualifier
  maps/qgeocameradata_p.h:75:52: error: 'bool TestNamespace::operator==(const 
int&)' must have an argument of class or enumerated type
  maps/qgeocameradata_p.h:76:29: error: 'QGeoCameraData' does not name a type
  maps/qgeocameradata_p.h:76:45: error: ISO C++ forbids declaration of 'other' 
with no type [-fpermissive]
  maps/qgeocameradata_p.h:76:52: error: non-member function 'bool 
TestNamespace::operator!=(const int&)' cannot have cv-qualifier
  maps/qgeocameradata_p.h:76:52: error: 'bool TestNamespace::operator!=(const 
int&)' must have an argument of class or enumerated type
  maps/qgeocameradata_p.h:79:29: error: non-member function 
'TestNamespace::QGeoCoordinate TestNamespace::center()' cannot have cv-qualifier
  maps/qgeocameradata_p.h:82:22: error: non-member function 'double 
TestNamespace::bearing()' cannot have cv-qualifier
  maps/qgeocameradata_p.h:85:19: error: non-member function 'double 
TestNamespace::tilt()' cannot have cv-qualifier
  maps/qgeocameradata_p.h:88:19: error: non-member function 'double 
TestNamespace::roll()' cannot have cv-qualifier
  maps/qgeocameradata_p.h:91:24: error: non-member function 'double 
TestNamespace::zoomLevel()' cannot have cv-qualifier
  maps/qgeocameradata_p.h:93:1: error: expected unqualified-id before 'private'
  maps/qgeocameradata_p.h:97:1: error: expected declaration before '}' token
  make[3]: *** [.obj/debug-shared/qgeotiledmapdata.o] Error 1
  In file included from maps/qgeomapdata_p.h:57:0,
                   from maps/qgeomapdata.cpp:41:
  maps/qgeocameradata_p.h:66:25: error: variable 
'TestNamespace::Q_LOCATION_EXPORT TestNamespace::QGeoCameraData' has 
initializer but incomplete type
  maps/qgeocameradata_p.h:68:1: error: expected primary-expression before 
'public'
  maps/qgeocameradata_p.h:68:1: error: expected '}' before 'public'
  maps/qgeocameradata_p.h:68:1: error: expected ',' or ';' before 'public'
  maps/qgeocameradata_p.h:70:26: error: 'QGeoCameraData' does not name a type
  maps/qgeocameradata_p.h:70:42: error: ISO C++ forbids declaration of 'other' 
with no type [-fpermissive]
  maps/qgeocameradata_p.h:70:48: error: expected constructor, destructor, or 
type conversion before ';' token
  maps/qgeocameradata_p.h:71:20: error: expected class-name before '(' token
  maps/qgeocameradata_p.h:73:5: error: 'QGeoCameraData' does not name a type
  maps/qgeocameradata_p.h:75:29: error: 'QGeoCameraData' does not name a type
  maps/qgeocameradata_p.h:75:45: error: ISO C++ forbids declaration of 'other' 
with no type [-fpermissive]
  maps/qgeocameradata_p.h:75:52: error: non-member function 'bool 
TestNamespace::operator==(const int&)' cannot have cv-qualifier
  maps/qgeocameradata_p.h:75:52: error: 'bool TestNamespace::operator==(const 
int&)' must have an argument of class or enumerated type
  maps/qgeocameradata_p.h:76:29: error: 'QGeoCameraData' does not name a type
  maps/qgeocameradata_p.h:76:45: error: ISO C++ forbids declaration of 'other' 
with no type [-fpermissive]
  maps/qgeocameradata_p.h:76:52: error: non-member function 'bool 
TestNamespace::operator!=(const int&)' cannot have cv-qualifier
  maps/qgeocameradata_p.h:76:52: error: 'bool TestNamespace::operator!=(const 
int&)' must have an argument of class or enumerated type
  maps/qgeocameradata_p.h:79:29: error: non-member function 
'TestNamespace::QGeoCoordinate TestNamespace::center()' cannot have cv-qualifier
  maps/qgeocameradata_p.h:82:22: error: non-member function 'double 
TestNamespace::bearing()' cannot have cv-qualifier
  maps/qgeocameradata_p.h:85:19: error: non-member function 'double 
TestNamespace::tilt()' cannot have cv-qualifier
  maps/qgeocameradata_p.h:88:19: error: non-member function 'double 
TestNamespace::roll()' cannot have cv-qualifier
  maps/qgeocameradata_p.h:91:24: error: non-member function 'double 
TestNamespace::zoomLevel()' cannot have cv-qualifier
  maps/qgeocameradata_p.h:93:1: error: expected unqualified-id before 'private'
  maps/qgeocameradata_p.h:97:1: error: expected declaration before '}' token
  make[3]: *** [.obj/debug-shared/qgeomapdata.o] Error 1
  make[2]: *** [sub-location-make_first-ordered] Error 2
  make[1]: *** [sub-src-make_first] Error 2
  make: *** [module-qtlocation] Error 2

  Build log: 
http://testresults.qt-project.org/ci/QtLocation_dev_Integration/build_00074/linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_11.10_x64/log.txt.gz

  Tested changes (refs/builds/dev_1380889013):
    http://codereview.qt-project.org/65955 [PS6] - Make geo coordinates 
animatable in QML.
_______________________________________________
Ci-reports mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/ci-reports

Reply via email to