Patchwork Fwd: [PATCH] qt4e: override variables OE_QMAKE_QT_CONFIG

login
register
mail settings
Submitter Wills Wang
Date June 29, 2013, 12:12 p.m.
Message ID <CAC6FaqyHsqMPbvZa=gO4S8E+_ZyckNAvqe+X_O5cdJH5uYxexg@mail.gmail.com>
Download mbox | patch
Permalink /patch/52689/
State New
Headers show

Comments

Wills Wang - June 29, 2013, 12:12 p.m.
override variables OE_QMAKE_QT_CONFIG to compile Qt/Embedded apps

 export OE_QMAKE_LIBDIR_QT = "${STAGING_LIBDIR}"
 export OE_QMAKE_LIBS_QT = "qt"
Martin Jansa - June 29, 2013, 12:15 p.m.
On Sat, Jun 29, 2013 at 08:12:51PM +0800, Wills Wang wrote:
> override variables OE_QMAKE_QT_CONFIG to compile Qt/Embedded apps

Thanks for forwarding it, btw it has extra line breaks, are you using
git send-email?

> diff --git a/meta/classes/qt4e.bbclass b/meta/classes/qt4e.bbclass
> index de2a68d..13b1050 100755
> --- a/meta/classes/qt4e.bbclass
> +++ b/meta/classes/qt4e.bbclass
> @@ -9,6 +9,7 @@ QT_LIBINFIX = "E"
>  # override variables set by qmake-base to compile Qt/Embedded apps
>  #
>  export QMAKESPEC =
> "${STAGING_DATADIR}/${QT_DIR_NAME}/mkspecs/${TARGET_OS}-oe-g++"
> +export OE_QMAKE_QT_CONFIG =
> "${STAGING_DATADIR}/${QT_DIR_NAME}/mkspecs/qconfig.pri"
>  export OE_QMAKE_INCDIR_QT = "${STAGING_INCDIR}/${QT_DIR_NAME}"
>  export OE_QMAKE_LIBDIR_QT = "${STAGING_LIBDIR}"
>  export OE_QMAKE_LIBS_QT = "qt"
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

Patch

diff --git a/meta/classes/qt4e.bbclass b/meta/classes/qt4e.bbclass
index de2a68d..13b1050 100755
--- a/meta/classes/qt4e.bbclass
+++ b/meta/classes/qt4e.bbclass
@@ -9,6 +9,7 @@  QT_LIBINFIX = "E"
 # override variables set by qmake-base to compile Qt/Embedded apps
 #
 export QMAKESPEC =
"${STAGING_DATADIR}/${QT_DIR_NAME}/mkspecs/${TARGET_OS}-oe-g++"
+export OE_QMAKE_QT_CONFIG =
"${STAGING_DATADIR}/${QT_DIR_NAME}/mkspecs/qconfig.pri"
 export OE_QMAKE_INCDIR_QT = "${STAGING_INCDIR}/${QT_DIR_NAME}"