qtsystems failed to compile :(

  compiling main.cpp
  main.cpp: In function 'void test_batteryinfo()':
  main.cpp:343:131: error: no matching function for call to 
'QBatteryInfo::chargingState(int)'
  main.cpp:343:131: note: candidate is:
  
/work/build/qt/qtbase/include/QtSystemInfo/../../../qtsystems/src/systeminfo/qbatteryinfo.h:118:33:
 note: QBatteryInfo::ChargingState QBatteryInfo::chargingState() const
  
/work/build/qt/qtbase/include/QtSystemInfo/../../../qtsystems/src/systeminfo/qbatteryinfo.h:118:33:
 note:   candidate expects 0 arguments, 1 provided
  main.cpp:344:135: error: no matching function for call to 
'QBatteryInfo::maximumCapacity(int)'
  main.cpp:344:135: note: candidate is:
  
/work/build/qt/qtbase/include/QtSystemInfo/../../../qtsystems/src/systeminfo/qbatteryinfo.h:114:9:
 note: int QBatteryInfo::maximumCapacity() const
  
/work/build/qt/qtbase/include/QtSystemInfo/../../../qtsystems/src/systeminfo/qbatteryinfo.h:114:9:
 note:   candidate expects 0 arguments, 1 provided
  main.cpp:345:139: error: no matching function for call to 
'QBatteryInfo::remainingCapacity(int)'
  main.cpp:345:139: note: candidate is:
  
/work/build/qt/qtbase/include/QtSystemInfo/../../../qtsystems/src/systeminfo/qbatteryinfo.h:115:9:
 note: int QBatteryInfo::remainingCapacity() const
  
/work/build/qt/qtbase/include/QtSystemInfo/../../../qtsystems/src/systeminfo/qbatteryinfo.h:115:9:
 note:   candidate expects 0 arguments, 1 provided
  main.cpp:346:119: error: no matching function for call to 
'QBatteryInfo::voltage(int)'
  main.cpp:346:119: note: candidate is:
  
/work/build/qt/qtbase/include/QtSystemInfo/../../../qtsystems/src/systeminfo/qbatteryinfo.h:117:9:
 note: int QBatteryInfo::voltage() const
  
/work/build/qt/qtbase/include/QtSystemInfo/../../../qtsystems/src/systeminfo/qbatteryinfo.h:117:9:
 note:   candidate expects 0 arguments, 1 provided
  main.cpp:347:147: error: no matching function for call to 
'QBatteryInfo::remainingChargingTime(int)'
  main.cpp:347:147: note: candidate is:
  
/work/build/qt/qtbase/include/QtSystemInfo/../../../qtsystems/src/systeminfo/qbatteryinfo.h:116:9:
 note: int QBatteryInfo::remainingChargingTime() const
  
/work/build/qt/qtbase/include/QtSystemInfo/../../../qtsystems/src/systeminfo/qbatteryinfo.h:116:9:
 note:   candidate expects 0 arguments, 1 provided
  main.cpp:348:127: error: no matching function for call to 
'QBatteryInfo::currentFlow(int)'
  main.cpp:348:127: note: candidate is:
  
/work/build/qt/qtbase/include/QtSystemInfo/../../../qtsystems/src/systeminfo/qbatteryinfo.h:113:9:
 note: int QBatteryInfo::currentFlow() const
  
/work/build/qt/qtbase/include/QtSystemInfo/../../../qtsystems/src/systeminfo/qbatteryinfo.h:113:9:
 note:   candidate expects 0 arguments, 1 provided
  main.cpp:349:131: error: no matching function for call to 
'QBatteryInfo::batteryStatus(int)'
  main.cpp:349:131: note: candidate is:
  
/work/build/qt/qtbase/include/QtSystemInfo/../../../qtsystems/src/systeminfo/qbatteryinfo.h:121:33:
 note: QBatteryInfo::BatteryStatus QBatteryInfo::batteryStatus() const
  
/work/build/qt/qtbase/include/QtSystemInfo/../../../qtsystems/src/systeminfo/qbatteryinfo.h:121:33:
 note:   candidate expects 0 arguments, 1 provided
  make[3]: *** [.obj/release-shared/main.o] Error 1
  make[2]: *** [sub-manual-sysinfo-tester-make_first] Error 2
  make[1]: *** [sub-tests-make_first-ordered] Error 2
  make: *** [module-qtsystems] Error 2

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

  Tested changes (refs/builds/dev_1385106608):
    http://codereview.qt-project.org/71878 [PS2] - First steps towards 
QBatteryInfo Refactorization
_______________________________________________
Ci-reports mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/ci-reports

Reply via email to