qtbase: fix 0003-Add-external-hostbindir-option.patch
authorJonathan Liu <net147@gmail.com>
Thu, 10 Jul 2014 04:08:35 +0000 (14:08 +1000)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:46:07 +0000 (08:46 -0800)
commit92554d0509b96f7653600b226737db05c4c2ad1e
treebc90e26ca5ba9000bae7f97052e7fa3a11953167
parentdd0a83fb977548a4ceb4a72f6251592a25187cb0
qtbase: fix 0003-Add-external-hostbindir-option.patch

The isEmpty function takes a variable name instead of a value.
As $$[QT_EXTERNAL_HOST_BINS] is a built-in we need to assign it to a
variable to check if it is empty.

If QT_EXTERNAL_HOST_BINS is empty (as is the case for generated Qt 5
toolchains), we need to fallback to QT_HOST_BINS when determining
the path for tools such as moc otherwise you get the following error
when building a Qt project using the generated toolchain:
make[1]: /moc: Command not found

(From meta-qt5 rev: 0c5abb6ae5591be0ea26d828c95c049866d17624)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-qt5/recipes-qt/qt5/qtbase-git/0003-Add-external-hostbindir-option.patch
meta-qt5/recipes-qt/qt5/qtbase/0003-Add-external-hostbindir-option.patch