[oe] [meta-qt5] What is needed to build a recipe with CMake?

Nick D'Ademo nickdademo at gmail.com
Sun Oct 12 23:48:42 UTC 2014


Has anyone had any success at all building a Qt5-based recipe with CMake?


On Wed, Oct 8, 2014 at 1:41 PM, Nick D'Ademo <nickdademo at gmail.com> wrote:

> I'm receiving the same error as described in the following posts when
> attempting to build a CMake recipe (Qt5 code):
> http://lists.qt-project.org/pipermail/development/2014-May/017075.html
> https://lists.yoctoproject.org/pipermail/yocto/2014-May/019755.html
>
> * The imported target "Qt5::Core" references the file
> *||*      "/qmake"
> *||*   but this file does not exist.  Possible reasons include:
> *||*   * The file was deleted, renamed, or moved to another location.
> *||*   * An install or uninstall procedure did not complete successfully.
> *||*   * The installation package was faulty and contained*
>
> Looks like the *qmake* binary cannot be found.
>
> The relevant parts of the recipe are as follows:
>
>
>
> *DEPENDS = "qtbase"*
>
>
>
>
>
>
>
> *inherit cmakedo_install () {    install -d ${D}${bindir}    install -m
> 0755 test ${D}${bindir}/test}FILES_${PN} += "${bindir}/test"*
>
> Does anyone have a solution to this issue?
>
> Thanks.
>



More information about the Openembedded-devel mailing list