Qt Mobility 1.2.0 TP install ERROR
-
Hi,
I have currently Mobility 1.1 and it works fine.Now, I need to try Mobility 1.2 for some new QML features.
I have Mobility 1.1 in path c:\QtMobility. So, I have created a new directory inside it for Mobility 1.2 : C:\QtMobility\QtMobility
When I put command ...
configure.bat -prefix c:\QtMobility\QtMobility[configured OK]
Then,
mingw32-make[Gives warning and errors, part of the error is included below]
Anybody any idea?
Br,
AKA@
qsysteminfo_win.cpp:2490: error: ISO C++ forbids taking the address of an unqual
ified or parenthesized non-static member function to form a pointer to member fu
nction. Say '&QtMobility::QSystemBatteryInfoPrivate::batteryStatus'
qsysteminfo_win.cpp:2490: error: ISO C++ forbids applying 'sizeof' to an expression of function type
qsysteminfo_win.cpp:2491: error: '((QtMobility::QSystemBatteryInfoPrivate*)this)
->QtMobility::QSystemBatteryInfoPrivate::batteryStatus' does not have class typeqsysteminfo_win.cpp:2491: error: 'BATTERY_POWER_ON_LINE' was not declared in thi
s scope
qsysteminfo_win.cpp:2494: error: '((QtMobility::QSystemBatteryInfoPrivate*)this)
->QtMobility::QSystemBatteryInfoPrivate::batteryStatus' does not have class typemingw32-make[3]: *** [../../build/Debug/QtSystemInfo/qsysteminfo_win.o] Error 1
mingw32-make[3]: Leaving directoryC:/QtMobility/qt-mobility-opensource-src-1.2 .0-tp1/src/systeminfo' mingw32-make[2]: *** [debug-all] Error 2 mingw32-make[2]: Leaving directory
C:/QtMobility/qt-mobility-opensource-src-1.2
.0-tp1/src/systeminfo'
mingw32-make[1]: *** [sub-systeminfo-make_default] Error 2
mingw32-make[1]: Leaving directory `C:/QtMobility/qt-mobility-opensource-src-1.2
.0-tp1/src'
mingw32-make: *** [sub-src-make_default-ordered] Error 2
@[EDIT: Code highlight for compiler output, Volker]