In QtCreator preferences ("Edit" --> "Preferences...") search for "build directory" and you will find this setting: