Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jul 2017 00:18:18 +0200
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Yuri <yuri@rawbw.com>
Cc:        "ports\@freebsd.org" <ports@freebsd.org>
Subject:   Re: CMAKE_AUTOMOC doesn't work
Message-ID:  <y3rm-pv11-wny@FreeBSD.org>
In-Reply-To: <c58f3615-ab2a-3117-740a-ca1fb0601bb0@rawbw.com> (yuri@rawbw.com's message of "Mon, 17 Jul 2017 14:31:31 -0700")
References:  <b7127c05-2369-b08a-38e9-f3b99e5dd43d@rawbw.com> <bmoi-u6dn-wny@FreeBSD.org> <6f0d8a31-ae70-fb7a-a06c-bfd79d25ea47@rawbw.com> <379u-sqt6-wny@FreeBSD.org> <c58f3615-ab2a-3117-740a-ca1fb0601bb0@rawbw.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Yuri <yuri@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?y3rm-pv11-wny>