I'm developing a simple qt4 app and making my own dialog. I subclassed QDialog, inserted Q_OBJECT macro in class declaration block and..
I get [Linker error] undefined reference to `vtable for MyDialog' and there is no moc_MyDialog.cpp generated by moc compiler.
I Use Qt 4.1.3 on windows XP and mingw - i do the build proces from QT supplied build shell. I used qmake do create make files and compile everything with a make command.
I have other classes that subclass QPushButton and QObject respectively,but they compile ok - but i can't find any fifferences between them and the broken one.
There must be missing something in the broken class.. but I'm uable to spot it :(
Help !