CMAKE_AUTOMOC doesn't work

Jan Beich jbeich at FreeBSD.org
Mon Jul 17 20:59:47 UTC 2017


Yuri <yuri at rawbw.com> writes:

> net-im/qTox fails to build. It uses Qt5, has set(CMAKE_AUTOMOC ON) in
> CMakeFiles.txt but moc isn't called.
>
> On Linux there is a separate automoc package.
>
> FreeBSD has automoc4, but not automoc5.
>
> Shouldn't there be automoc5? What might be wrong?
>
>
> USE_QT5=        core gui network xml opengl sql sql-sqlite3_run
> widgets svg \
>                 concurrent buildtools_build linguisttools_build

Did you try USE_QT5=qmake_build ?


More information about the freebsd-ports mailing list