I am using the default build directory in Qt Creator which is something like build-project-blah-blah-Debug. However, when I build my app in debug mode both a
I deduced the solution from this answer to the reverse question. In your .pro file, add the following line to prevent the subdirectories being created:
CONFIG -= debug_and_release debug_and_release_target
This issue only occurs on Windows, not on Unix-based OS's. Windows sets these flags by default, whereas Unix implementations of QT don't. To me it was mainly a problem due to compatibility of my project between both environments.