Important: Please read the Qt Code of Conduct -

Problem compiling Qt-Mobility

  • I tried to compile Qt-Mobility-1.2.0 and received thew following error Message:
    "ipc/qmetaobjectbuilder.cpp:1430:41: error: invalid conversion from ‘QtMobility::QMetaObjectBuilder::StaticMetacallFunction {aka int ()(QMetaObject::Call, int, void**)}’ to ‘QMetaObjectExtraData::StaticMetacallFunction {aka void ()(QObject*, QMetaObject::Call, int, void**)}’ [-fpermissive]"

    I'd like to know the cause of this message.

    Thanks in advance.

  • Ubuntu, right? Open .pro file and add
    @QMAKE_CXXFLAGS = -fpermissive@
    P.S.: don't forget to run qmake again after editing .pro file....

    if don't help, open Makefile and add -fpermissive to CXXFLAGS line

  • Thank you a lot AcerExtensa.
    Everrything gona be allright.

Log in to reply