summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-qt/qt5/qtconnectivity.inc13
-rw-r--r--recipes-qt/qt5/qtconnectivity_git.bb4
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 @@
1require qt5.inc
2
3DEPENDS += "qtbase qtdeclarative"
4
5PACKAGECONFIG ??= ""
6PACKAGECONFIG[bluez4] = ",,bluez4"
7
8do_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
13EXTRA_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 @@
1require qt5-git.inc
2require ${BPN}.inc
3
4SRCREV = "c21addb23f2eb67dc55853b115e5b735df065891"