qt signal undefined reference error

SOLUTION:post

At the beginning of your class declaration you should have the macro Q_OBJECT and be sure to inherit from some QObject descendant.ui

in QT Creator, right click the project, select RUN QMAKE, then rebuild all. Other posts about running REBUILD ALL are incorrect...on it's own that will NOT run qmake.it

相關文章
相關標籤/搜索