[SOLVED] How can I rebuild the project once I press F5 to start debugging?
-
I guess you are talking about Qt Creator here?
-
-
That should work.
There are two options in Tools->Options->Build & Run->General that are relevant here:
Make sure both "Always build before deploy" and "Always deploy before run" are checked. -
“Always deploy before run” did it - thank you!
I do not have Tools->Options->Build & Run though (Qt Creatro 2.3.1) , it is in Tools->Options->Projects.
I do not even know what they mean by deploy, help system is absent after the install. I think I cleared this option because I am not "deploying" my projects.
-
Qt Creator Builds, deploys and only afterwards runs your app.
"Build" is basically "turning source code into executables"
"Deploy" is basically "getting everything into the right place to run stuff". That is a no-op for most desktop projects (though some do require a "make install" there), but is rather important when cross-compiling for embedded devices.
PS: Yes, those settings moved around a bit recently in an effort to make that dialog fit onto a typical netbook screen.