summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--classes/qmake5_base.bbclass7
-rw-r--r--recipes-qt/qt5/qt5.inc2
-rw-r--r--recipes-qt/qt5/qtbase.inc5
3 files changed, 8 insertions, 6 deletions
diff --git a/classes/qmake5_base.bbclass b/classes/qmake5_base.bbclass
index e7b85e35..44575c4c 100644
--- a/classes/qmake5_base.bbclass
+++ b/classes/qmake5_base.bbclass
@@ -13,6 +13,9 @@ OE_QMAKE_PLATFORM = "linux-oe-g++"
13# Add -d to show debug output from every qmake call, but it prints *a lot*, better to add it only to debugged recipe 13# Add -d to show debug output from every qmake call, but it prints *a lot*, better to add it only to debugged recipe
14OE_QMAKE_DEBUG_OUTPUT ?= "" 14OE_QMAKE_DEBUG_OUTPUT ?= ""
15 15
16# Look through supplied directories recursively by default
17OE_QMAKE_RECURSIVE ?= "-r"
18
16# Paths in .prl files contain SYSROOT value 19# Paths in .prl files contain SYSROOT value
17SSTATE_SCAN_FILES += "*.pri *.prl *.prf" 20SSTATE_SCAN_FILES += "*.pri *.prl *.prf"
18 21
@@ -159,8 +162,8 @@ qmake5_base_do_configure () {
159 # for config.tests to read this 162 # for config.tests to read this
160 export QMAKE_MAKE_ARGS="${EXTRA_OEMAKE}" 163 export QMAKE_MAKE_ARGS="${EXTRA_OEMAKE}"
161 164
162 CMD="${OE_QMAKE_QMAKE} -makefile -o Makefile ${OE_QMAKE_DEBUG_OUTPUT} -r $QMAKE_VARSUBST_PRE $AFTER $PROFILES $QMAKE_VARSUBST_POST" 165 CMD="${OE_QMAKE_QMAKE} -makefile -o Makefile ${OE_QMAKE_DEBUG_OUTPUT} ${OE_QMAKE_RECURSIVE} $QMAKE_VARSUBST_PRE $AFTER $PROFILES $QMAKE_VARSUBST_POST"
163 ${OE_QMAKE_QMAKE} -makefile -o Makefile ${OE_QMAKE_DEBUG_OUTPUT} -r $QMAKE_VARSUBST_PRE $AFTER $PROFILES $QMAKE_VARSUBST_POST || die "Error calling $CMD" 166 ${OE_QMAKE_QMAKE} -makefile -o Makefile ${OE_QMAKE_DEBUG_OUTPUT} ${OE_QMAKE_RECURSIVE} $QMAKE_VARSUBST_PRE $AFTER $PROFILES $QMAKE_VARSUBST_POST || die "Error calling $CMD"
164} 167}
165 168
166qmake5_base_do_install() { 169qmake5_base_do_install() {
diff --git a/recipes-qt/qt5/qt5.inc b/recipes-qt/qt5/qt5.inc
index af0a9061..9d5bca52 100644
--- a/recipes-qt/qt5/qt5.inc
+++ b/recipes-qt/qt5/qt5.inc
@@ -18,6 +18,8 @@ OE_QMAKE_PATH_SETTINGS = "${OE_QMAKE_PATH_QT_SETTINGS}"
18OE_QMAKE_PATH_EXAMPLES = "${OE_QMAKE_PATH_QT_EXAMPLES}" 18OE_QMAKE_PATH_EXAMPLES = "${OE_QMAKE_PATH_QT_EXAMPLES}"
19OE_QMAKE_PATH_TESTS = "${OE_QMAKE_PATH_QT_TESTS}" 19OE_QMAKE_PATH_TESTS = "${OE_QMAKE_PATH_QT_TESTS}"
20 20
21OE_QMAKE_RECURSIVE = ""
22
21# If Qt5 (qtbase) is machine specific, then everything will be, 23# If Qt5 (qtbase) is machine specific, then everything will be,
22# because the (initial) qtbase configuration becomes part of Qt5/qmake 24# because the (initial) qtbase configuration becomes part of Qt5/qmake
23python __anonymous() { 25python __anonymous() {
diff --git a/recipes-qt/qt5/qtbase.inc b/recipes-qt/qt5/qtbase.inc
index cbb8e4f2..da60b767 100644
--- a/recipes-qt/qt5/qtbase.inc
+++ b/recipes-qt/qt5/qtbase.inc
@@ -29,8 +29,6 @@ RDEPENDS_${PN}-tools += "perl"
29# PACKAGECONFIG is kept rather minimal for people who don't need 29# PACKAGECONFIG is kept rather minimal for people who don't need
30# stuff like webkit (and it's easier to add options than remove) 30# stuff like webkit (and it's easier to add options than remove)
31 31
32# gl or gles needs to be enabled in order to build qtdeclarative
33# http://qt.gitorious.org/qt/qtdeclarative/commit/e988998a08b1420ed10bd02d9d4b3b8ed2289df9
34PACKAGECONFIG_GL ?= "${@base_contains('DISTRO_FEATURES', 'opengl', 'gl', '', d)}" 32PACKAGECONFIG_GL ?= "${@base_contains('DISTRO_FEATURES', 'opengl', 'gl', '', d)}"
35PACKAGECONFIG_FB ?= "${@base_contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)}" 33PACKAGECONFIG_FB ?= "${@base_contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)}"
36PACKAGECONFIG_X11 ?= "${@base_contains('DISTRO_FEATURES', 'x11', 'xcb xvideo xsync xshape xrender xrandr xfixes xinput2 xinput xinerama xcursor gtkstyle xkb', '', d)}" 34PACKAGECONFIG_X11 ?= "${@base_contains('DISTRO_FEATURES', 'x11', 'xcb xvideo xsync xshape xrender xrandr xfixes xinput2 xinput xinerama xcursor gtkstyle xkb', '', d)}"
@@ -76,7 +74,6 @@ PACKAGECONFIG[jpeg] = "-system-libjpeg,-no-libjpeg,jpeg"
76PACKAGECONFIG[libpng] = "-system-libpng,-no-libpng,libpng" 74PACKAGECONFIG[libpng] = "-system-libpng,-no-libpng,libpng"
77PACKAGECONFIG[zlib] = "-system-zlib,-qt-zlib,zlib" 75PACKAGECONFIG[zlib] = "-system-zlib,-qt-zlib,zlib"
78PACKAGECONFIG[pcre] = "-system-pcre,-qt-pcre,pcre" 76PACKAGECONFIG[pcre] = "-system-pcre,-qt-pcre,pcre"
79# gl or gles2 is needed in order to build qtdeclarative (qtdeclarative.do_configure fails to find quick module without)
80PACKAGECONFIG[gl] = "-opengl desktop -no-eglfs,,virtual/libgl" 77PACKAGECONFIG[gl] = "-opengl desktop -no-eglfs,,virtual/libgl"
81PACKAGECONFIG[gles2] = "-opengl es2 -eglfs,,virtual/libgles2 virtual/egl" 78PACKAGECONFIG[gles2] = "-opengl es2 -eglfs,,virtual/libgles2 virtual/egl"
82PACKAGECONFIG[tslib] = "-tslib,-no-tslib,tslib" 79PACKAGECONFIG[tslib] = "-tslib,-no-tslib,tslib"
@@ -114,7 +111,7 @@ PACKAGECONFIG[directfb] = "-directfb,-no-directfb,directfb"
114PACKAGECONFIG[linuxfb] = "-linuxfb,-no-linuxfb" 111PACKAGECONFIG[linuxfb] = "-linuxfb,-no-linuxfb"
115PACKAGECONFIG[mitshm] = "-mitshm,-no-mitshm,mitshm" 112PACKAGECONFIG[mitshm] = "-mitshm,-no-mitshm,mitshm"
116PACKAGECONFIG[kms] = "-kms,-no-kms,virtual/mesa virtual/egl" 113PACKAGECONFIG[kms] = "-kms,-no-kms,virtual/mesa virtual/egl"
117# needed for qtdeclarative (qtdeclarative.do_configure fails to find quick module without) 114# needed for qtwebkit
118PACKAGECONFIG[icu] = "-icu,-no-icu,icu" 115PACKAGECONFIG[icu] = "-icu,-no-icu,icu"
119PACKAGECONFIG[udev] = "-libudev,-no-libudev,udev" 116PACKAGECONFIG[udev] = "-libudev,-no-libudev,udev"
120# use -openssl-linked here to ensure that RDEPENDS for libcrypto and libssl are detected 117# use -openssl-linked here to ensure that RDEPENDS for libcrypto and libssl are detected