[CMake] cmake strange errors when porting VS2005

Yumin Yuan yumin.yuan at kitware.com
Fri Apr 4 16:08:55 EDT 2008


On Fri, Apr 4, 2008 at 3:18 PM, Bill Hoffman <bill.hoffman at kitware.com> wrote:
> >
> It looks like moc stuff to me.  The Model constructor destructor are not
> missing, just a bunch of slots and signals like methods...
>
I think Bill is right. I did not see any "QT4_WRAP_*" in the
CMakeLists.txt file.
If you use Q_OBJECT and signal/slot stuff in your class, you have to
do some Qt wrapping...

Take a look at these links.

http://doc.trolltech.com/4.3/moc.html
http://qtnode.net/wiki?title=Qt_with_cmake

HTH,
-Yumin

~~~~~~~~~~~~~~~~
Yumin Yuan
R&D Engineer
Kitware Inc.
www.kitware.com
~~~~~~~~~~~~~~~~


More information about the CMake mailing list