Use a QApplication, not a QCoreApplication. Your project type then has to be changed from CONSOLE to GUI. Then just don't make a window.