Top "Qapplication" questions

The QApplication class is part of the Qt C++ classes manages the GUI application's control flow and main settings.

Please instantiate the QApplication object first

I have a static class and want it to have static QSettings. But with my initialization I get a warning: …

c++ qt static-members qapplication qcoreapplication
What is an event loop in Qt?

I have understood the following regarding QApplication's exec function: QApplication exec starts the main event loop. It launches the GUI. …

c++ qt event-loop qapplication
Why do I need "sys.argv" to start a QApplication in PyQt?

I try to understand what PyQt does. And one of the first things I didn't, was: QApplication(sys.argv) Why …

python pyqt command-line-arguments qapplication
How to set an application icon in Qt

I have some trouble trying to set an icon for my QT application. The icon is named "room.ico" and …

c++ qt qpixmap qapplication qicon
How to override QApplication::notify in Qt

I am trying to handle exception in my Qt application, I went through a couple of posts which indicated of …

c++ qt exception qtgui qapplication
Qt qDebug not working with QConsoleApplication or QApplication

I currently have a terribly annoying problem while developing programs using Qt and Qt Creator. Whenever I try using qDebug() …

c++ qt qdebug qapplication qcoreapplication