Add the -g and -Wall options of GCC compiler
I want to compile my Qt application with the -g and -Wall options of gcc in order to use Valgrind to make some revisions.
That said, my specific questions are:
When an application is built in Debug mode, these options (-g, -Wall or both) are set by default or should I set it myself manually?
With Qt Creator, where I can view and set these options compile?
Thanks in advance for any help and/or suggestions.
You can set the compiler options in your pro file. You can see the options enabled in the project tab of your project