Currently if you add the Q_OBJECT macro to a class after running qmake then the Makefile generated will not specify moc to be run for that class. The solution of course is to run qmake again. This is a common problem with a well known solution, however with Creator there is the a chance to automate this process to make this a non issue.
I propose that something be done for this situation. Creator could either automatically schedule qmake to be run the next time the application is built when the Q_OBJECT macro is added, or Creator could at least warn the user that they will need to run qmake again if they don't want to experience build issues.
As a side note: This may be a well know issue for experienced Qt developers, but may not be for newer Qt developers, and may be required for a better Qt development experience with the Qt SDK.
|For Gerrit Dashboard: QTCREATORBUG-231|
|260566,3||QmakeProjectManager: Do not skip the qmake step on a rebuild||master||qt-creator/qt-creator||Status: MERGED||+2||0|