diff options
| -rw-r--r-- | recipes-qt/qt5/qtsystems.inc | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/recipes-qt/qt5/qtsystems.inc b/recipes-qt/qt5/qtsystems.inc index cd2438f3..e9b14aeb 100644 --- a/recipes-qt/qt5/qtsystems.inc +++ b/recipes-qt/qt5/qtsystems.inc | |||
| @@ -1,6 +1,15 @@ | |||
| 1 | require qt5.inc | 1 | require qt5.inc |
| 2 | 2 | ||
| 3 | DEPENDS += "qtbase qtdeclarative udev bluez4 gconf" | 3 | DEPENDS += "qtbase qtdeclarative udev gconf" |
| 4 | |||
| 5 | PACKAGECONFIG ??= "" | ||
| 6 | PACKAGECONFIG[bluez4] = "OE_BLUEZ_ENABLED,,bluez4" | ||
| 7 | |||
| 8 | do_configure_prepend() { | ||
| 9 | export QMAKE_CACHE_EVAL="CONFIG+=${EXTRA_OECONF}" | ||
| 10 | # disable bluez test if it isn't enabled by PACKAGECONFIG | ||
| 11 | sed -i 's/^ qtCompileTest(bluez)/ OE_BLUEZ_ENABLED:qtCompileTest(bluez)/g' ${S}/qtsystems.pro | ||
| 12 | } | ||
| 4 | 13 | ||
| 5 | do_install_append() { | 14 | do_install_append() { |
| 6 | # Remove example.pro file as it is useless | 15 | # Remove example.pro file as it is useless |
