qtlocation failed to compile :(

  compiling appmodel.cpp
  appmodel.cpp: In constructor 'AppModel::AppModel(QObject*)':
  appmodel.cpp:179:69: error: no matching function for call to 
'QQmlListProperty<WeatherData>::QQmlListProperty(AppModel* const, 
AppModelPrivate*&, void (&)(QQmlListProperty<WeatherData>*, WeatherData*), int 
(&)(QQmlListProperty<WeatherData>*), WeatherData* 
(&)(QQmlListProperty<WeatherData>*, int))'
  appmodel.cpp:179:69: note: candidates are:
  
/work/build/qt/qtbase/include/QtQml/../../../qtdeclarative/src/qml/qml/qqmllist.h:75:5:
 note: QQmlListProperty<T>::QQmlListProperty(QObject*, void*, 
QQmlListProperty<T>::CountFunction, QQmlListProperty<T>::AtFunction) [with T = 
WeatherData, QQmlListProperty<T>::CountFunction = int 
(*)(QQmlListProperty<WeatherData>*), QQmlListProperty<T>::AtFunction = 
WeatherData* (*)(QQmlListProperty<WeatherData>*, int)]
  
/work/build/qt/qtbase/include/QtQml/../../../qtdeclarative/src/qml/qml/qqmllist.h:75:5:
 note:   candidate expects 4 arguments, 5 provided
  
/work/build/qt/qtbase/include/QtQml/../../../qtdeclarative/src/qml/qml/qqmllist.h:72:5:
 note: QQmlListProperty<T>::QQmlListProperty(QObject*, void*, 
QQmlListProperty<T>::AppendFunction, QQmlListProperty<T>::CountFunction, 
QQmlListProperty<T>::AtFunction, QQmlListProperty<T>::ClearFunction) [with T = 
WeatherData, QQmlListProperty<T>::AppendFunction = void 
(*)(QQmlListProperty<WeatherData>*, WeatherData*), 
QQmlListProperty<T>::CountFunction = int (*)(QQmlListProperty<WeatherData>*), 
QQmlListProperty<T>::AtFunction = WeatherData* 
(*)(QQmlListProperty<WeatherData>*, int), QQmlListProperty<T>::ClearFunction = 
void (*)(QQmlListProperty<WeatherData>*)]
  
/work/build/qt/qtbase/include/QtQml/../../../qtdeclarative/src/qml/qml/qqmllist.h:72:5:
 note:   candidate expects 6 arguments, 5 provided
  
/work/build/qt/qtbase/include/QtQml/../../../qtdeclarative/src/qml/qml/qqmllist.h:69:5:
 note: QQmlListProperty<T>::QQmlListProperty(QObject*, QList<T*>&) [with T = 
WeatherData]
  
/work/build/qt/qtbase/include/QtQml/../../../qtdeclarative/src/qml/qml/qqmllist.h:69:5:
 note:   candidate expects 2 arguments, 5 provided
  
/work/build/qt/qtbase/include/QtQml/../../../qtdeclarative/src/qml/qml/qqmllist.h:67:5:
 note: QQmlListProperty<T>::QQmlListProperty() [with T = WeatherData]
  
/work/build/qt/qtbase/include/QtQml/../../../qtdeclarative/src/qml/qml/qqmllist.h:67:5:
 note:   candidate expects 0 arguments, 5 provided
  
/work/build/qt/qtbase/include/QtQml/../../../qtdeclarative/src/qml/qml/qqmllist.h:60:7:
 note: QQmlListProperty<WeatherData>::QQmlListProperty(const 
QQmlListProperty<WeatherData>&)
  
/work/build/qt/qtbase/include/QtQml/../../../qtdeclarative/src/qml/qml/qqmllist.h:60:7:
 note:   candidate expects 1 argument, 5 provided
  make[3]: *** [.obj/release-shared/appmodel.o] Error 1
  make[2]: *** [sub-weatherinfo-make_first] Error 2
  make[1]: *** [sub-examples-make_first] Error 2
  make: *** [module-qtlocation] Error 2

  Build log: 
http://testresults.qt-project.org/ci/QtLocation_master_Integration/build_01175/linux-g++_no-widgets_Ubuntu_12.04_x64/log.txt.gz

  Tested changes (refs/builds/master_1351071133):
    http://codereview.qt-project.org/37937 [PS1] - Compile after QPen changes.
_______________________________________________
Ci-reports mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/ci-reports

Reply via email to