[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


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220813

            Bug ID: 220813
           Summary: devel/qt5-core: qmake_build is required for non-qmake
                    projects
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde at FreeBSD.org
          Reporter: yuri at rawbw.com
          Assignee: kde at FreeBSD.org
             Flags: maintainer-feedback?(kde at FreeBSD.org)

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list