diff options
-rw-r--r-- | classes/qmake5_base.bbclass | 7 | ||||
-rw-r--r-- | recipes-qt/qt5/qt5.inc | 2 | ||||
-rw-r--r-- | recipes-qt/qt5/qtbase.inc | 5 |
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 |
14 | OE_QMAKE_DEBUG_OUTPUT ?= "" | 14 | OE_QMAKE_DEBUG_OUTPUT ?= "" |
15 | 15 | ||
16 | # Look through supplied directories recursively by default | ||
17 | OE_QMAKE_RECURSIVE ?= "-r" | ||
18 | |||
16 | # Paths in .prl files contain SYSROOT value | 19 | # Paths in .prl files contain SYSROOT value |
17 | SSTATE_SCAN_FILES += "*.pri *.prl *.prf" | 20 | SSTATE_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 | ||
166 | qmake5_base_do_install() { | 169 | qmake5_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}" | |||
18 | OE_QMAKE_PATH_EXAMPLES = "${OE_QMAKE_PATH_QT_EXAMPLES}" | 18 | OE_QMAKE_PATH_EXAMPLES = "${OE_QMAKE_PATH_QT_EXAMPLES}" |
19 | OE_QMAKE_PATH_TESTS = "${OE_QMAKE_PATH_QT_TESTS}" | 19 | OE_QMAKE_PATH_TESTS = "${OE_QMAKE_PATH_QT_TESTS}" |
20 | 20 | ||
21 | OE_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 |
23 | python __anonymous() { | 25 | python __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 | ||
34 | PACKAGECONFIG_GL ?= "${@base_contains('DISTRO_FEATURES', 'opengl', 'gl', '', d)}" | 32 | PACKAGECONFIG_GL ?= "${@base_contains('DISTRO_FEATURES', 'opengl', 'gl', '', d)}" |
35 | PACKAGECONFIG_FB ?= "${@base_contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)}" | 33 | PACKAGECONFIG_FB ?= "${@base_contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)}" |
36 | PACKAGECONFIG_X11 ?= "${@base_contains('DISTRO_FEATURES', 'x11', 'xcb xvideo xsync xshape xrender xrandr xfixes xinput2 xinput xinerama xcursor gtkstyle xkb', '', d)}" | 34 | PACKAGECONFIG_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" | |||
76 | PACKAGECONFIG[libpng] = "-system-libpng,-no-libpng,libpng" | 74 | PACKAGECONFIG[libpng] = "-system-libpng,-no-libpng,libpng" |
77 | PACKAGECONFIG[zlib] = "-system-zlib,-qt-zlib,zlib" | 75 | PACKAGECONFIG[zlib] = "-system-zlib,-qt-zlib,zlib" |
78 | PACKAGECONFIG[pcre] = "-system-pcre,-qt-pcre,pcre" | 76 | PACKAGECONFIG[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) | ||
80 | PACKAGECONFIG[gl] = "-opengl desktop -no-eglfs,,virtual/libgl" | 77 | PACKAGECONFIG[gl] = "-opengl desktop -no-eglfs,,virtual/libgl" |
81 | PACKAGECONFIG[gles2] = "-opengl es2 -eglfs,,virtual/libgles2 virtual/egl" | 78 | PACKAGECONFIG[gles2] = "-opengl es2 -eglfs,,virtual/libgles2 virtual/egl" |
82 | PACKAGECONFIG[tslib] = "-tslib,-no-tslib,tslib" | 79 | PACKAGECONFIG[tslib] = "-tslib,-no-tslib,tslib" |
@@ -114,7 +111,7 @@ PACKAGECONFIG[directfb] = "-directfb,-no-directfb,directfb" | |||
114 | PACKAGECONFIG[linuxfb] = "-linuxfb,-no-linuxfb" | 111 | PACKAGECONFIG[linuxfb] = "-linuxfb,-no-linuxfb" |
115 | PACKAGECONFIG[mitshm] = "-mitshm,-no-mitshm,mitshm" | 112 | PACKAGECONFIG[mitshm] = "-mitshm,-no-mitshm,mitshm" |
116 | PACKAGECONFIG[kms] = "-kms,-no-kms,virtual/mesa virtual/egl" | 113 | PACKAGECONFIG[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 |
118 | PACKAGECONFIG[icu] = "-icu,-no-icu,icu" | 115 | PACKAGECONFIG[icu] = "-icu,-no-icu,icu" |
119 | PACKAGECONFIG[udev] = "-libudev,-no-libudev,udev" | 116 | PACKAGECONFIG[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 |