Add OE_QMAKE_INCDIR_QT
cover Add OE_QMAKE_INCDIR_QT
This adds OE_QMAKE_INCDIR_QT to the variables in qmake5_base.bbclass.
Qt4 in oe-core exports this variables, both in their qt4 bbclasses as well as in their SDK. As a result, recipes like e.g. qextserialport [1] in meta-oe, uses OE_QMAKE_INCDIR_QT in the generated extserialport.prf file, in order allow both bitbake build recipes and applications build using the SDK, find the header filer of qextserialport.
In Qt5, OE_QMAKE_INCDIR_QT is not set when building using bitbake, however, that variable is still set in the environment file for the generated SDK.
Thus, to make the use case in e.g. [1] work also for Qt5, we'll add this variable to qmake5_base.bbclass. This will sync up the two use-cases.
The following changes since commit 9a4c0b393bf031acace5c2cc00d625a24c639d1c:
maliit-framework-qt5: Update SRCREV (2014-10-21 15:33:05 +0200)
are available in the git repository at:
git://github.com/darander/meta-qt5 9a0b3d2f7e1ac7e854430fe1e93271c71f574083
https://github.com/darander/meta-qt5/tree/qtsdk
Anders Darander (1):
qmake5: set OE_QMAKE_INCDIR_QT
classes/qmake5_base.bbclass | 1 + 1 file changed, 1 insertion(+)
Signature · 1 line
2.1.1
PATCH 1/1 qmake5: set OE_QMAKE_INCDIR_QT
This is set when generation an SDK, and thus would be usefull to have also when bitbaking. That allows us to use this in *.prf files which is used both when bitbaking as well as when using the SDK.
--- classes/qmake5_base.bbclass | 1 + 1 file changed, 1 insertion(+)
classes/qmake5_base.bbclass +1 -0
@@ -32,6 +32,7 @@ EXTRA_OEMAKE = " \ OE_QMAKE_AR='${OE_QMAKE_AR}' \ OE_QMAKE_STRIP='${OE_QMAKE_STRIP}' \ OE_QMAKE_WAYLAND_SCANNER='${OE_QMAKE_WAYLAND_SCANNER}' \ + OE_QMAKE_INCDIR_QT='${STAGING_DIR_TARGET}/${OE_QMAKE_PATH_HEADERS}' \ " OE_QMAKESPEC = "${QMAKE_MKSPEC_PATH_NATIVE}/mkspecs/${OE_QMAKE_PLATFORM_NATIVE}"
Signature · 1 line
2.1.1
Re: [meta-qt5][PATCH 1/1] qmake5: set OE_QMAKE_INCDIR_QT
ping
Quoted 22 lines · Anders Darander
This is set when generation an SDK, and thus would be usefull to have also when bitbaking. That allows us to use this in *.prf files which is used both when bitbaking as well as when using the SDK.
Signed-off-by Anders Darander <[email protected]>(cherry picked from commit 96e8d29fdbdf6fa656c854d9b55c5b0c213166a7)--- classes/qmake5_base.bbclass | 1 + 1 file changed, 1 insertion(+)classes/qmake5_base.bbclass +1
-0@@ -32,6 +32,7 @@ EXTRA_OEMAKE = " \ OE_QMAKE_AR='${OE_QMAKE_AR}' \ OE_QMAKE_STRIP='${OE_QMAKE_STRIP}' \ OE_QMAKE_WAYLAND_SCANNER='${OE_QMAKE_WAYLAND_SCANNER}' \ + OE_QMAKE_INCDIR_QT='${STAGING_DIR_TARGET}/${OE_QMAKE_PATH_HEADERS}' \ " OE_QMAKESPEC = "${QMAKE_MKSPEC_PATH_NATIVE}/mkspecs/${OE_QMAKE_PLATFORM_NATIVE}"
Signature · 2 lines
Anders Darander ChargeStorm AB / eStorm AB
Re: [meta-qt5][PATCH 1/1] qmake5: set OE_QMAKE_INCDIR_QT
In reply to Anders DaranderQuoted 6 lines · Anders Darander
This is set when generation an SDK, and thus would be usefull to have also when bitbaking. That allows us to use this in *.prf files which is used both when bitbaking as well as when using the SDK.
Signed-off-by Anders Darander <[email protected]>(cherry picked from commit 96e8d29fdbdf6fa656c854d9b55c5b0c213166a7)
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750