Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Add the -g and -Wall options of GCC compiler
isaacEnrique last edited by
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.
t3685 last edited by
You can set the compiler options in your pro file. You can see the options enabled in the project tab of your project