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. [SOLVED] mobility 1.2 build error
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] mobility 1.2 build error

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 1 Posters 2.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.
  • V Offline
    V Offline
    vranckenc
    wrote on last edited by
    #1

    I have successfully built QT libs 4.7.3 using CodeSourcery arm-2009q1-203 toolchain, and I am using qmake to build QT arm projects with no issues (running on an OMAP L138 target).

    I am now trying to build QT Mobility 1.2.0, using the same toolchain and qmake, but it fails with the the following error message:

    ./make clean
    OK

    ./configure -qmake-exec /opt/qt/bin/qmake
    OK

    ./make
    ...
    ...
    /home/user/CodeSourcery/arm-2009q1-203/bin/arm-none-linux-gnueabi-g++ -c -pipe -g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQTM_PLUGIN_PATH="/home/user/Development/Files/QT/qt-mobility-opensource-src-1.2.0/install/plugins" -DQT_MAKEDLL -DQT_BUILD_SYSINFO_LIB -DQT_NO_NETWORKMANAGER -DQT_NO_UDISKS -DQT_NO_CONNMAN -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/home/user/Development/Files/QT_2/qt-everywhere-opensource-src-4.7.3/mkspecs/qws/linux-omapl138-g++ -I. -I/opt/qt/include/QtCore -I/opt/qt/include/QtNetwork -I/opt/qt/include/QtGui -I/opt/qt/include -I../global -I../../build/Debug/QtSystemInfo/moc -I/home/user/Development/Files/tslib/target/usr/include -o ../../build/Debug/QtSystemInfo/qsystemgeneralinfo.o qsystemgeneralinfo.cpp
    In file included from linux/qsysteminfo_linux_p.h:61,
    from qsysteminfocommon_p.h:57,
    from qsystemgeneralinfo.cpp:43:
    linux/qsysteminfo_linux_common_p.h:452: error: ISO C++ forbids declaration of 'QUPowerDeviceInterface' with no type
    linux/qsysteminfo_linux_common_p.h:452: error: expected ';' before '*' token
    make[2]: *** [../../build/Debug/QtSystemInfo/qsystemgeneralinfo.o] Error 1
    make[2]: Leaving directory /home/user/Development/Files/QT/qt-mobility-opensource-src-1.2.0/src/systeminfo' make[1]: *** [sub-systeminfo-make_default] Error 2 make[1]: Leaving directory /home/user/Development/Files/QT/qt-mobility-opensource-src-1.2.0/src'
    make: *** [sub-src-make_default-ordered] Error 2
    ...
    ...

    Any ideas?

    thanks

    1 Reply Last reply
    0
    • V Offline
      V Offline
      vranckenc
      wrote on last edited by
      #2

      Looking at the source code, found out it was a dependency to dbus (when building the QT libraries, dbus was not detected, therefore automatically disabled). Building dbus library, and re configuring and building QT libraries, solved this particular issue.

      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