[CMake] My dammed problem with OSX and Qt

clinton at elemtech.com clinton at elemtech.com
Wed Jan 16 13:58:28 EST 2008


On Wednesday 16 January 2008 11:05:04 am Leopold Palomo-Avellaneda wrote:

>
> Linking CXX shared library libpluginregistrodeiva.dylib
> Undefined symbols:
[snip]
>   "FichaBc::qt_metacall(QMetaObject::Call, int, void**)", referenced from:
>       vtable for RegistroIvain registroiva.o
>       RegistroIvaView::qt_metacall(QMetaObject::Call, int, void**)in
> moc_registroivaview.o

Unresolved vtables in Qt code usually means you forgot to run moc on the 
header file and include it in the build.  If that's it, it can be done by the 
QT4_WRAP_CPP macro.  On Linux, you might see that problem at run time with a 
crash.

Clint


More information about the CMake mailing list