qsysteminfo_win.cpp:2150: error: expected type-specifier before 'WMIHelper' qsysteminfo_win.cpp:2150: error: expected ';' before 'WMIHelper' qsysteminfo_win.cpp: In member function 'void QtMobility::QSystemBatteryInfoPrivate::getBatteryStatu s()': qsysteminfo_win.cpp:2506: error: 'BATTERY_QUERY_INFORMATION' was not declared in this scope qsysteminfo_win.cpp:2506: error: expected ';' before 'batteryQueryInfo' qsysteminfo_win.cpp:2511: error: 'IOCTL_BATTERY_QUERY_TAG' was not declared in this scope qsysteminfo_win.cpp:2511: error: 'batteryQueryInfo' was not declared in this scope qsysteminfo_win.cpp:2513: error: 'BATTERY_INFORMATION' was not declared in this scope qsysteminfo_win.cpp:2513: error: expected ';' before 'batteryInfo' qsysteminfo_win.cpp:2514: error: 'BatteryInformation' was not declared in this scope qsysteminfo_win.cpp:2516: error: 'IOCTL_BATTERY_QUERY_INFORMATION' was not declared in this scope qsysteminfo_win.cpp:2516: error: 'batteryInfo' was not declared in this scope qsysteminfo_win.cpp:2518: error: 'BATTERY_SYSTEM_BATTERY' was not declared in this scope qsysteminfo_win.cpp:2519: error: 'BATTERY_IS_SHORT_TERM' was not declared in this scope qsysteminfo_win.cpp:2523: error: 'BATTERY_WAIT_STATUS' was not declared in this scope qsysteminfo_win.cpp:2523: error: expected ';' before 'batteryWaitStatus' qsysteminfo_win.cpp:2524: error: 'batteryWaitStatus' was not declared in this scope qsysteminfo_win.cpp:2526: error: 'BATTERY_STATUS' was not declared in this scope qsysteminfo_win.cpp:2526: error: expected ';' before 'batteryStatus' qsysteminfo_win.cpp:2527: error: 'IOCTL_BATTERY_QUERY_STATUS' was not declared in this scope qsysteminfo_win.cpp:2527: error: ISO C++ forbids taking the address of an unqualified or parenthesiz ed non-static member function to form a pointer to member function. Say '&QtMobility::QSystemBatter yInfoPrivate::batteryStatus' qsysteminfo_win.cpp:2527: error: ISO C++ forbids applying 'sizeof' to an expression of function type qsysteminfo_win.cpp:2528: error: '((QtMobility::QSystemBatteryInfoPrivate*)this)->QtMobility::QSyste mBatteryInfoPrivate::batteryStatus' does not have class type qsysteminfo_win.cpp:2528: error: 'BATTERY_POWER_ON_LINE' was not declared in this scope qsysteminfo_win.cpp:2531: error: '((QtMobility::QSystemBatteryInfoPrivate*)this)->QtMobility::QSyste mBatteryInfoPrivate::batteryStatus' does not have class type MINGW32-MAKE[3]: *** [c:/QTSDK/QTMOB/build/Debug/QtSystemInfo/qsysteminfo_win.o] Error 1 MINGW32-MAKE[3]: Leaving directory `C:/QtSDK/QtMob/src/systeminfo' MINGW32-MAKE[2]: *** [debug-all] Error 2 MINGW32-MAKE[2]: Leaving directory `C:/QtSDK/QtMob/src/systeminfo' MINGW32-MAKE[1]: *** [sub-systeminfo-make_default] Error 2 MINGW32-MAKE[1]: Leaving directory `C:/QtSDK/QtMob/src' MINGW32-MAKE: *** [sub-src-make_default-ordered] Error 2 C:\QTSDK\QTMOB>