[oe] [meta-qt5][PATCH] qtbase: fix 0003-Add-external-hostbindir-option.patch

Jacob Kroon jacob.kroon at gmail.com
Wed Jul 23 14:44:31 UTC 2014


On Thu, Jul 10, 2014 at 6:08 AM, Jonathan Liu <net147 at gmail.com> wrote:

> 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
>
> Signed-off-by: Jonathan Liu <net147 at gmail.com>
> ---
>  .../0003-Add-external-hostbindir-option.patch      | 65
> +++++++++++++---------
>  .../0003-Add-external-hostbindir-option.patch      | 65
> +++++++++++++---------
>  2 files changed, 78 insertions(+), 52 deletions(-)
>
>
On my system, this change seems to cause "syncqt.pl" being removed from the
"qtbase-tools" package.
>From buildhistory:

-FILELIST = /usr/bin/qt5/moc /usr/bin/qt5/qdoc /usr/bin/qt5/qlalr
/usr/bin/qt5/rcc /usr/bin/qt5/syncqt.pl
+FILELIST = /usr/bin/qt5/moc /usr/bin/qt5/qdoc /usr/bin/qt5/qlalr
/usr/bin/qt5/rcc

Is this by intention ? The package still RDEPENDS on perl.

/Jacob



More information about the Openembedded-devel mailing list