I was using qmake build system in my QtCreator 4.1.0-beta1, everything was fine. When I ran my project, a new terminal popped up.
QtCreator 4.1.0-beta1
When I switched to CMa
Projects -> Build & Run -> Run -> Check "Run in terminal"