Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt Creator doesn't run qmake after .pro edit
il_mix last edited by
I noticed that when I delete a file from a project, e.g. an header file, the entry in the "HEADER" section of the .pro file will be automatically removed, but the change isn't "noticed" by the builder, since it won't run qmake automatically before the compiler (both using "Build" and "Rebuild"). What happens is that the compiler says there is a file missing. I have to run qmake manually and then build again.
Side note, I'm working with a subdirs projects, and trying to figure out the problem that happens when I build a single dir.
Hi and welcome to the Qt Dev Net!
Yes, that is known behaviour -- we all need to run qmake manually after editing the .pro file.
Perhaps you'd like to submit a feature request to https://bugreports.qt-project.org ?