QtMobility and Qt 4.8.2 libs



  • I try build Qtmobility source with 4.8.2 libs, but it's fails. Anybody knows why?

    Error is:"ipc\qmetaobjectbuilder.cpp: In member function â??void QtMobility::QMetaObjectBu
    ilder::addMetaObject(const QMetaObject*, QFlags<QtMobility::QMetaObjectBuilder::
    AddMember>)â??:
    ipc\qmetaobjectbuilder.cpp:803: virhe: virheellinen muunnos tyypistä â??void (*
    const)(QObject*, QMetaObject::Call, int, void**)â?? tyypiksi â??int ()(QMetaOb
    ject::Call, int, void
    *)â??
    ipc\qmetaobjectbuilder.cpp:803: virhe: alustettaessa funktion â??void QtMobili
    ty::QMetaObjectBuilder::setStaticMetacallFunction(int ()(QMetaObject::Call, int
    , void
    *))â?? argumenttia 1
    ipc\qmetaobjectbuilder.cpp: In function â??int QtMobility::buildMetaObject(QtMob
    ility::QMetaObjectBuilderPrivate*, char*, bool)â??:
    ipc\qmetaobjectbuilder.cpp:1430: virhe: virheellinen muunnos tyypistä â??int (*
    )(QMetaObject::Call, int, void**)â?? tyypiksi â??void ()(QObject, QMetaObject:
    :Call, int, void**)â??
    mingw32-make[3]: *** [../../build/Debug/QtServiceFramework/qmetaobjectbuilder.o]
    Error 1
    mingw32-make[3]: Leaving directory C:/qt-mobility-opensource-src-1.2.0/src/serv iceframework' mingw32-make[2]: *** [debug-all] Error 2 mingw32-make[2]: Leaving directoryC:/qt-mobility-opensource-src-1.2.0/src/serv
    iceframework'
    mingw32-make[1]: *** [sub-serviceframework-make_default] Error 2
    mingw32-make[1]: Leaving directory `C:/qt-mobility-opensource-src-1.2.0/src'
    mingw32-make: *** [sub-src-make_default-ordered] Error 2
    "

    Regards, Niko H.



  • Same error in english

    ipc/qmetaobjectbuilder.cpp: In member function ‘void QtMobility::QMetaObjectBuilder::addMetaObject(const QMetaObject*, QtMobility::QMetaObjectBuilder::AddMembers)’:
    ipc/qmetaobjectbuilder.cpp:803:65: error: invalid conversion from ‘void ()(QObject, QMetaObject::Call, int, void**)’ to ‘int ()(QMetaObject::Call, int, void*)’
    ipc/qmetaobjectbuilder.cpp:803:65: error: initializing argument 1 of ‘void QtMobility::QMetaObjectBuilder::setStaticMetacallFunction(int ()(QMetaObject::Call, int, void*))’
    ipc/qmetaobjectbuilder.cpp: In function ‘int QtMobility::buildMetaObject(QtMobility::QMetaObjectBuilderPrivate*, char*, bool)’:
    ipc/qmetaobjectbuilder.cpp:1430:41: error: invalid conversion from ‘int ()(QMetaObject::Call, int, void*)’ to ‘void ()(QObject, QMetaObject::Call, int, void**)’
    make[2]: *** [../../build/Debug/QtServiceFramework/qmetaobjectbuilder.o] Error 1
    make[2]: Leaving directory /media/files/qt-mobility-opensource-src-1.2.0/src/serviceframework' make[1]: *** [sub-serviceframework-make_default] Error 2 make[1]: Leaving directory/media/files/qt-mobility-opensource-src-1.2.0/src'
    make: *** [sub-src-make_default-ordered] Error 2


Log in to reply
 

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