[Interest] Qt Webkit and HTML5 geolocation

Aaron McCarthy mccarthy.aaron at gmail.com
Mon Sep 23 03:21:35 CEST 2013


Hi,

On Sat, 21 Sep 2013 02:15:35 AM Tom Isaacson wrote:
> > From: Aaron McCarthy [mccarthy.aaron at gmail.com]
> > Sent: Friday, 20 September 2013 18:25
> > 
> > What is the failure?
> 
> ipc/qmetaobjectbuilder.cpp: In member function 'void
> QtMobility::QMetaObjectBuilder::addMetaObject(const QMetaObject*,
> QtMobility::QMetaObjectBuilder::AddMembers)':
> ipc/qmetaobjectbuilder.cpp:803:65: error: invalid conversion from
> 'QMetaObjectExtraData::StaticMetacallFunction {aka void (*)(QObject*,
> QMetaObject::Call, int, void**)}' to
> 'QtMobility::QMetaObjectBuilder::StaticMetacallFunction {aka int
> (*)(QMetaObject::Call, int, void**)}' [-fpermissive] In file included from
> ipc/qmetaobjectbuilder.cpp:42:0:
> ipc/qmetaobjectbuilder_p.h:178:10: error:   initializing argument 1 of 'void
> QtMobility::QMetaObjectBuilder::setStaticMetacallFunction(QtMobility::QMeta
> ObjectBuilder::StaticMetacallFunction)' [-fpermissive]
> ipc/qmetaobjectbuilder.cpp: In function 'int
> QtMobility::buildMetaObject(QtMobility::QMetaObjectBuilderPrivate*, char*,
> bool)': 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] make[2]: ***
> [../../build/Debug/QtServiceFramework/qmetaobjectbuilder.o] Error 1
> make[2]: Leaving directory `/tmp/qt-mobility-1.2.0/src/serviceframework'
> make[1]: *** [sub-serviceframework-make_default] Error 2
> make[1]: Leaving directory `/tmp/qt-mobility-1.2.0/src'
> make: *** [sub-src-make_default-ordered] Error 2

This does look like an incompatibility between Qt Mobility and Qt 4.8.2. My 
understanding is that the metaobject builder code in Qt Mobility needs to be 
kept in sync with the version in Qt. The commit log indicates that it was 
updated for Qt 4.8,

What version of Qt Mobility are you building? The files that are failing to 
build in your log have been moved in the latest master branch with commit 
messages referencing Qt 4.8 compatibility.

Cheers,

-- 
Aaron McCarthy



More information about the Interest mailing list