summaryrefslogtreecommitdiffstats
path: root/qmake-features/am-config.prf
diff options
context:
space:
mode:
Diffstat (limited to 'qmake-features/am-config.prf')
-rw-r--r--qmake-features/am-config.prf4
1 files changed, 3 insertions, 1 deletions
diff --git a/qmake-features/am-config.prf b/qmake-features/am-config.prf
index 113013e7..d115eb63 100644
--- a/qmake-features/am-config.prf
+++ b/qmake-features/am-config.prf
@@ -5,7 +5,9 @@ CONFIG *= no_private_qt_headers_warning hide_symbols
CONFIG -= app_bundle qml_debug
CONFIG += exceptions
-!qtHaveModule(gui):CONFIG *= headless
+!qtHaveModule(gui)|!qtHaveModule(quick)|!qtConfig(opengl) {
+ CONFIG *= headless
+}
DEFINES += QT_MESSAGELOGCONTEXT