QtMobility build crashes

  • Hello, I try to build QtMobility opensource source code packgage version 1.2.0.

    The system I'm working on is a 64bit Windows 7 with an QtCreator 2.3.0 Installation.


    For the build I installed Active Perl and set it to the PATH. I start the build by executing configure & mingw-make . While compiling there are some includes missing. Has somebody an idea how to fix that?

    qsysteminfo_win.cpp:80:46: error: HighLevelMonitorConfigurationAPI.h: No such file or directory
    qsysteminfo_win.cpp:85:22: error: BatClass.h: No such file or directory
    qsysteminfo_win.cpp: In member function 'QString QtMobility::QSystemInfoPrivate::version(QtMobility::QSystemInfo::Version, const QString&)':

  • Moderators

    moved to the installation subforum.

    there the installation gurus will discover your post earlier.

  • This problem is that MinGW does not ship with the neccessary header files from the Windows SDK (HighLevelMonitorConfigurationAPI.h, PhysicalMonitorEnumerationAPI.h) or are not placed correctly (BatClass.h in include/ddk).

    See "QTMOBILITY-1847":https://bugreports.qt.nokia.com/browse/QTMOBILITY-1847.

    There is no solution yet. However, you can build QtMobility by not building the systeminfo module (or port the neccessary header files to MinGW of course).

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.