If when you switch to Design mode 
- From the Qt Creator menu select Tools -> Options.
- Click the “Build and Run” option in the “Options” pane, on the left-hand side.
- Under the “Kits” tab choose “Qt 5.3.1 Desktop” and click the “Make Default” button on the right-hand side.
- Click the “Apply” button at the bottom right-hand side.