> I am almost there, but when it links there are symbols undefined.
> From my experience the symbols I am seeing are typical of missing moc
files.

You should still post your error messages I think, maybe it's some library
that Qt links automatically but
that you have to link by hand with CMake ?


On Wed, May 4, 2016 at 7:29 PM, [email protected] <
[email protected]> wrote:

> 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)
>
> _______________________________________________
> Interest mailing list
> [email protected]
> http://lists.qt-project.org/mailman/listinfo/interest
>
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to