diff options
-rw-r--r-- | meta/classes/qmake_base.bbclass | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/meta/classes/qmake_base.bbclass b/meta/classes/qmake_base.bbclass index 24a0f11f4..a054efd24 100644 --- a/meta/classes/qmake_base.bbclass +++ b/meta/classes/qmake_base.bbclass @@ -31,6 +31,20 @@ oe_qmake_mkspecs () { done } +do_generate_qt_config_file() { + export QT_CONF_PATH=${WORKDIR}/qt.conf + cat > ${WORKDIR}/qt.conf <<EOF +[Paths] +Prefix = +Binaries = ${STAGING_BINDIR_NATIVE} +Headers = ${STAGING_INCDIR}/qt4 +Plugins = ${STAGING_LIBDIR}/qt4/plugins/ +Mkspecs = ${STAGING_DATADIR}/qt4/mkspecs/ +EOF +} + +addtask generate_qt_config_file after do_patch before do_configure + qmake_base_do_configure() { case ${QMAKESPEC} in *linux-oe-g++|*linux-uclibc-oe-g++|*linux-gnueabi-oe-g++) |