diff options
author | Jonathan Liu <net147@gmail.com> | 2013-06-06 13:19:23 +1000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-06-11 15:38:03 +0100 |
commit | fdb5c12240ff5e8e279a088dee632a308d233838 (patch) | |
tree | 41437c64740d373208b2c6e1813c23c35be1f1dc /meta/classes/utility-tasks.bbclass | |
parent | 147b8dd481e67fe1caf44d2b5c43497d317a26be (diff) | |
download | poky-fdb5c12240ff5e8e279a088dee632a308d233838.tar.gz |
qt4: fix QMAKE_QT_CONFIG being overwritten with empty value
QMAKE_QT_CONFIG is set by the linux-oe-g++ mkspec but it is overwritten
with an empty value read from .qmake.cache. Avoid this by first checking
if the value from .qmake.cache is not empty before assigning it to
QMAKE_QT_CONFIG.
This allows variables from qconfig.pri such as QT_ARCH, QT_CONFIG,
QT_VERSION, etc. to be queried by qmake projects.
(From OE-Core rev: 5330905749828ea8befdee559c180754ac506b75)
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/utility-tasks.bbclass')
0 files changed, 0 insertions, 0 deletions