[Bug 267546] devel/qt5-core: find_package(Qt5 REQUIRED COMPONENTS Core) fails when qmake and moc aren't present

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Nov 3 18:58:30 GMT 2022


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Closed
         Resolution|---                         |Works As Intended
                 CC|                            |adridg at freebsd.org

--- Comment #1 from Adriaan de Groot <adridg at freebsd.org> ---
So install qmake and moc. You're going to need them *anyway* if you are
building anything that uses Qt in a serious way (e.g. with automoc). If you're
writing a port,

USE_QT += qmake:build  buildtools:build

If you want to fool around,

add_executable(Qt5::moc IMPORTED)
add_executable(Qt5::qmake IMPORTED)

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


More information about the kde-freebsd mailing list