CMAKE_AUTOMOC doesn't work
Jan Beich
jbeich at FreeBSD.org
Mon Jul 17 22:18:24 UTC 2017
Yuri <yuri at rawbw.com> writes:
> On 07/17/2017 14:21, Jan Beich wrote:
>
>> 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).
>
>
> Adding USE_QT5+=qmake_build doesn't help.
>
> It doesn't |print "||Automatic moc for target". It doesn't call 'moc',
> in the end link fails with undefined symbols corresponding to Qt5
> signals. Files moc_*.* are missing.
Do you mean something like the following?
Generating MOC compilation qtox_autogen/moc_compilation.cpp
[...]
Generating MOC source qtox_static_autogen/44CYS2DDJC/moc_openal.cpp
diff: http://sprunge.us/YCJg
log: http://sprunge.us/MFSb
More information about the freebsd-ports
mailing list