CMAKE_AUTOMOC doesn't work

Jan Beich jbeich at FreeBSD.org
Mon Jul 17 21:21:14 UTC 2017


Yuri <yuri at rawbw.com> writes:

> On 07/17/2017 13:59, Jan Beich wrote:
>
>> Did you try USE_QT5=qmake_build ?
>
>
> They got rid of qmake, they use only cmake. Apparently,
> cmake+CMAKE_AUTOMOC without qmake works on linux.

Can you show the error log? IIRC, CMake cannot build Qt-based projects
without QMake installed and automoc isn't invoked for Qt5.

I maintain a few Qt5 ports that build via USES=cmake. For one,
citra-qt5, ppsspp-qt5, rpcs3 have set(CMAKE_AUTOMOC ON).


More information about the freebsd-ports mailing list