// if we're under unix and don't have a display, see if we can still run
#ifdef Q_WS_X11
opts.useGUI = getenv("DISPLAY") != 0;
+ if (opts.useGUI == false) {
+ std::clog << "DISPLAY not set, running in console mode only" << std::endl;
+ }
#endif
QApplication app(argc, argv, opts.useGUI);