[Interest] using cmake to build Qt projects.
william.crocker at analog.com
william.crocker at analog.com
Wed May 4 19:29:05 CEST 2016
On 05/04/2016 01:07 PM, Thiago Macieira wrote:
> On quarta-feira, 4 de maio de 2016 10:08:27 PDT Bill Crocker wrote:
>> From my experience the symbols I am seeing are typical of missing moc
>> files. I know I have all of my #include "abc.moc" statements in place
>> because my project builds fine with qmake.
>
> That probably is. You need to tell cmake to handle the moc files. Either use
> qt4_wrap_moc (or whatever the macro is called) or turn automoc on.
>
Per the inclusion of my cmake instruction file at the end of the post,
that is what I thought these two lines were for.
set(CMAKE_AUTOMOC TRUE)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
More information about the Interest
mailing list