Hello everyone,
I've been using Qt 4.3 successfully with XCode for a while. Now I had to use signals and slots and to implement these I have to use the Q_Object macro. However, as soon as I include the macro, XCode won't build my project any more. It reports an error during Linking that reads like this:
Qt Code:
x 'vtable for MyDialog', referenced from: __ZTV8MyDialog$non_lazy_ptr in MyDialog.o symbol(s) not found collect2: Id returned 1 exit status Build failed (1 error)To copy to clipboard, switch view to plain text mode
I don't know why I get this error. It probably is something stupid, as the exact same project compiles and runs perfectly on Windows XP with Eclipse.
Please, can anyone turn me in the right direction?
I had this problem before and was not able to solve it. The Qt-Demo-Projects using Q_Object compile and run fine...
Any help?
Bookmarks