Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Why does qmake say nothing about issues that were before adding one line into the .pro file



  • Qmake told me about some issues with static member and that I need to add -std+=c++11 flag. I added it using CONFIG += c++11 and it worked fine. But then I erased this line (wanted to get these issues back) and got clean build without any issues. Was it "cached" or what?



  • IIRC the makefiles are not automatically generated when the pro file is changed. You have to explicitely run qmake.


  • Moderators

    @JohanSolo said:

    IIRC the makefiles are not automatically generated when the pro file is changed. You have to explicitely run qmake.

    That's correct.

    Or, you can simply delete the build folder.