diff options
-rw-r--r-- | recipes-qt/qt5/qtconnectivity.inc | 13 | ||||
-rw-r--r-- | recipes-qt/qt5/qtconnectivity_git.bb | 4 |
2 files changed, 17 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtconnectivity.inc b/recipes-qt/qt5/qtconnectivity.inc new file mode 100644 index 00000000..c0a51470 --- /dev/null +++ b/recipes-qt/qt5/qtconnectivity.inc | |||
@@ -0,0 +1,13 @@ | |||
1 | require qt5.inc | ||
2 | |||
3 | DEPENDS += "qtbase qtdeclarative" | ||
4 | |||
5 | PACKAGECONFIG ??= "" | ||
6 | PACKAGECONFIG[bluez4] = ",,bluez4" | ||
7 | |||
8 | do_configure_prepend() { | ||
9 | # disable bluez test if it isn't enabled by PACKAGECONFIG | ||
10 | sed -i 's/^qtCompileTest(bluez)/OE_BLUEZ_ENABLED:qtCompileTest(bluez)/g' ${S}/qtconnectivity.pro | ||
11 | } | ||
12 | |||
13 | 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 00000000..334ae353 --- /dev/null +++ b/recipes-qt/qt5/qtconnectivity_git.bb | |||
@@ -0,0 +1,4 @@ | |||
1 | require qt5-git.inc | ||
2 | require ${BPN}.inc | ||
3 | |||
4 | SRCREV = "c21addb23f2eb67dc55853b115e5b735df065891" | ||