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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jan 1 23:20:23 UTC 2018


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

Adriaan de Groot <adridg at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |Rejected
             Status|New                         |Closed
                 CC|                            |adridg at freebsd.org

--- Comment #3 from Adriaan de Groot <adridg at freebsd.org> ---
As tcberner@ says, the Qt-provided CMake modules (for Qt5) require qmake to be
installed. If you really, really, want to avoid qmake in an otherwise Qt5-using
port (remember, we're fighting against upstream to even allow qmake to be
absent), you can use some CMake trickery in your own port:

add_executable(Qt5::qmake IMPORTED)
set_target_properties(Qt5::qmake PROPERTIES IMPORTED_LOCATION "/usr/bin/false")

That will prevent the Qt5 module from looking for qmake on its own. We don't
think it's worth it to wrestle away qmake.

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


More information about the kde-freebsd mailing list