[CMake] Fwd: Fwd: cmake link against Qt4's OpenGL
Bill Hoffman
bill.hoffman at kitware.com
Fri Sep 26 17:40:13 EDT 2008
>> "Window::staticMetaObject", referenced from:
>> __ZN6Window16staticMetaObjectE$non_lazy_ptr in window.o
>> "vtable for GLWidget", referenced from:
>> __ZTV8GLWidget$non_lazy_ptr in glwidget.o
>> ld: symbol(s) not found
>> collect2: ld returned 1 exit status
>> make[2]: *** [exe] Error 1
>> make[1]: *** [CMakeFiles/exe.dir/all] Error 2
>> make: *** [all] Error 2
>>
That looks like it might be qt slots. You might be missing some moc
stuff in your cmake files. See QT4_WRAP_CPP in FindQt4.cmake.
-Bill
More information about the CMake
mailing list