It will affect the executable. Debug mode is necessary for debugging with a debugger (unless you like reading assembler code). If you compile your project in this mode, it will contain additional information for the debugger and also it enables some checks inside Qt, that will allow you to identify problems more easily.