Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt Mobility 1.2.0 TP install ERROR
Forum Updated to NodeBB v4.3 + New Features

Qt Mobility 1.2.0 TP install ERROR

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 1.4k 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.
  • A Offline
    A Offline
    akazad
    wrote on last edited by
    #1

    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 type

    qsysteminfo_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 type

    mingw32-make[3]: *** [../../build/Debug/QtSystemInfo/qsysteminfo_win.o] Error 1
    mingw32-make[3]: Leaving directory C:/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]

    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