Qt World Summit: Register Today!

Qt Creator doesn't run qmake after .pro edit

  • Hi everyone.

    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.

    Any hint?

    Side note, I'm working with a subdirs projects, and trying to figure out the problem that happens when I build a single dir.

  • Moderators

    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 ?

Log in to reply