summaryrefslogtreecommitdiffstats
path: root/src/launcher-lib/launchermain.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/launcher-lib/launchermain.h')
-rw-r--r--src/launcher-lib/launchermain.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/launcher-lib/launchermain.h b/src/launcher-lib/launchermain.h
index 8ee9f52c..7ca97b8c 100644
--- a/src/launcher-lib/launchermain.h
+++ b/src/launcher-lib/launchermain.h
@@ -47,8 +47,13 @@
#if defined(AM_HEADLESS)
# include <QCoreApplication>
typedef QCoreApplication LauncherMainBase;
+#elif defined(AM_ENABLE_WIDGETS)
+# include <QApplication>
+# include <QSurfaceFormat>
+typedef QApplication LauncherMainBase;
#else
# include <QGuiApplication>
+# include <QSurfaceFormat>
typedef QGuiApplication LauncherMainBase;
#endif