summaryrefslogtreecommitdiffstats
path: root/meta/classes/qmake_base.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/qmake_base.bbclass')
-rw-r--r--meta/classes/qmake_base.bbclass14
1 files changed, 14 insertions, 0 deletions
diff --git a/meta/classes/qmake_base.bbclass b/meta/classes/qmake_base.bbclass
index 24a0f11..a054efd 100644
--- a/meta/classes/qmake_base.bbclass
+++ b/meta/classes/qmake_base.bbclass
@@ -31,6 +31,20 @@ oe_qmake_mkspecs () {
31 done 31 done
32} 32}
33 33
34do_generate_qt_config_file() {
35 export QT_CONF_PATH=${WORKDIR}/qt.conf
36 cat > ${WORKDIR}/qt.conf <<EOF
37[Paths]
38Prefix =
39Binaries = ${STAGING_BINDIR_NATIVE}
40Headers = ${STAGING_INCDIR}/qt4
41Plugins = ${STAGING_LIBDIR}/qt4/plugins/
42Mkspecs = ${STAGING_DATADIR}/qt4/mkspecs/
43EOF
44}
45
46addtask generate_qt_config_file after do_patch before do_configure
47
34qmake_base_do_configure() { 48qmake_base_do_configure() {
35 case ${QMAKESPEC} in 49 case ${QMAKESPEC} in
36 *linux-oe-g++|*linux-uclibc-oe-g++|*linux-gnueabi-oe-g++) 50 *linux-oe-g++|*linux-uclibc-oe-g++|*linux-gnueabi-oe-g++)