[Development] Build error in bluetooth module on Mac OS X 10.6

Nils Jeisecke njeisecke at saltation.de
Mon Jun 11 18:19:25 CEST 2012


Hi!

I'm trying to build Qt5 on the Mac following the wiki page instructions.

It fails when compiling the bluetooth qml module:

g++ -headerpad_max_install_names -mmacosx-version-min=10.6
-single_module -dynamiclib -o libdeclarative_bluetooth_debug.dylib
.obj/debug-shared/plugin.o
.obj/debug-shared/qdeclarativebluetoothservice.o
.obj/debug-shared/qdeclarativebluetoothsocket.o
.obj/debug-shared/qdeclarativebluetoothdiscoverymodel.o
.obj/debug-shared/qdeclarativebluetoothimageprovider.o
.obj/debug-shared/moc_qdeclarativebluetoothservice_p.o
.obj/debug-shared/moc_qdeclarativebluetoothsocket_p.o
.obj/debug-shared/moc_qdeclarativebluetoothdiscoverymodel_p.o
.obj/debug-shared/qrc_bluetooth.o
-F/Users/njeiseck/projects/qt/qt5/qtbase/lib
-L/Users/njeiseck/projects/qt/qt5/qtbase/lib -framework QtQuick
-L/Users/njeiseck/projects/qt/qt5/qtbase/lib
-F/Users/njeiseck/projects/qt/qt5/qtbase/lib -framework QtQml
-framework QtNetwork -framework QtCore -framework QtV8 -framework
QtGui -framework QtBluetooth -framework QtConcurrent -framework OpenGL
-framework AGL
ld: framework not found QtQuick
collect2: ld returned 1 exit status
make[4]: *** [../../../../qtbase/imports/QtBluetooth/libdeclarative_bluetooth_debug.dylib]
Error 1
make[3]: *** [debug] Error 2
make[2]: *** [sub-bluetooth-make_default] Error 2
make[1]: *** [sub-imports-make_default-ordered] Error 2
make: *** [module-qtconnectivity-src-make_default-ordered] Error 2

I guess that QtQuick framework reference must come after the framework path.

However I'm not yet familiar with the Qt 5 build system, so any hint
where to fix that would be appreciated.

Thanks!

Nils



More information about the Development mailing list