Qt Code:
#include <QObject> #include <QComboBox> Q_OBJECT public: }To copy to clipboard, switch view to plain text mode
here is my header
i am using qmake et try to subclass QComboBox to add signals.
I am getting a vtable link error because of Q_OBJECT...
i read in the doc that qmake should automatically moc the file if Q_OBJECT is in the header but it does not seem to work in my project... what am i doing wrong?
thanks for your help
Bookmarks