Difference between Build and Run
-
Hello guys.
I am using QT creators develop a C++ software for a embedded system and I have a very basic question about QT creator?
What is the difference between BUILD and RUN configuration in QT creator? What exactly each one perform ?
Thank you in advance -
@mcleary thank you for your prompt response
In fact I had understood like you explained, but I was using CMake for a embedded application and when I press build nothing is generated ( I was expecting some file .bin or .exe). On the other hand, when I press run, a directory is created with many files inside, including a .bin file.
That is why I asked that question
My interpretation is that due to the CMake file, when I press build, a program is created and when I press run, this program creates the directory with all the files.
Do you understand in the same way?Thank you
-
If you're building your application for an embedded device the Run configuration might be copying your files to the device or something similar, while Build is just to compile your application. Files are going to be generated, maybe just not in the place you are expecting. Check the output directory of the Build configuration by clicking on Project, Build and check the output directory.