From the docs:
QApplication :: QApplication (int & argc, char ** argv, bool GUIenabled)
Creates an application object using the argc command line arguments in argv. If the GUIenabled is TRUE, the GUI application is built; otherwise, the application without the GUI (console) is created.
GUIenabled FALSE .
, , ,
QApplication::QApplication(Display *dpy,HANDLE visual=0,HANDLE colormap=0)
NULL * ( , , X11)