diff --git a/recipes-qt/qt5/qtconnectivity.inc b/recipes-qt/qt5/qtconnectivity.inc new file mode 100644 index 0000000000..c0a51470f6 --- /dev/null +++ b/recipes-qt/qt5/qtconnectivity.inc @@ -0,0 +1,13 @@ +require qt5.inc + +DEPENDS += "qtbase qtdeclarative" + +PACKAGECONFIG ??= "" +PACKAGECONFIG[bluez4] = ",,bluez4" + +do_configure_prepend() { + # disable bluez test if it isn't enabled by PACKAGECONFIG + sed -i 's/^qtCompileTest(bluez)/OE_BLUEZ_ENABLED:qtCompileTest(bluez)/g' ${S}/qtconnectivity.pro +} + +EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'bluez4', 'CONFIG+=OE_BLUEZ_ENABLED', '', d)}" diff --git a/recipes-qt/qt5/qtconnectivity_git.bb b/recipes-qt/qt5/qtconnectivity_git.bb new file mode 100644 index 0000000000..334ae3534f --- /dev/null +++ b/recipes-qt/qt5/qtconnectivity_git.bb @@ -0,0 +1,4 @@ +require qt5-git.inc +require ${BPN}.inc + +SRCREV = "c21addb23f2eb67dc55853b115e5b735df065891"