maintainer-feedback requested: [Bug 220813] devel/qt5-core: qmake_build is required for non-qmake projects

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jul 18 02:38:22 UTC 2017


Yuri Victorovich <yuri at rawbw.com> has reassigned Bugzilla Automation
<bugzilla at FreeBSD.org>'s request for maintainer-feedback to kde at FreeBSD.org:
Bug 220813: devel/qt5-core: qmake_build is required for non-qmake projects
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220813



--- Description ---
net-im/qTox is a Qt5 project. It doesn't use qmake, but it uses CMAKE_AUTOMOC.
For some reason, build fails without USE_QT5+=qmake_build:

> CMake Error at /usr/local/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:15 (message):
>  The imported target "Qt5::Core" references the file
>     "/usr/local/lib/qt5/bin/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
>     "/usr/local/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake"
>  but not all the files it references.

Qt5 should not require qmake_build when qmake isn't used. It should have
moc_build or automoc_build or something like this.


More information about the kde-freebsd mailing list