Writing console applications with Qt Creator