Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. QtMobility build crashes
Qt 6.11 is out! See what's new in the release blog

QtMobility build crashes

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 3 Posters 3.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kuschky
    wrote on last edited by
    #1

    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.

    http://get.qt.nokia.com/qt/add-ons/qt-mobility-opensource-src-1.2.0.zip

    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?

    g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_SHARED -DQTM_PLUGIN_PATH="C:/QtMobility/plugins" -DQT_MAKEDLL -DQT_BUILD_SYSINFO_LIB -DQT_DLL -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE
    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&)':
    ....

    1 Reply Last reply
    0
    • EddyE Offline
      EddyE Offline
      Eddy
      wrote on last edited by
      #2

      moved to the installation subforum.

      there the installation gurus will discover your post earlier.

      Qt Certified Specialist
      www.edalsolutions.be

      1 Reply Last reply
      0
      • L Offline
        L Offline
        lgeyer
        wrote on last edited by
        #3

        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).

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved