diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2024-01-16 10:50:41 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2024-01-17 15:36:27 +0100 |
commit | ff8c6222e4e0716683705412d82c6a368ccd6c80 (patch) | |
tree | 925e1727c904ca1465de7958824403a6a2229984 /tools | |
parent | 508f582611614cbcdd4a6ae6f5019977fecb4b20 (diff) |
Fix some compile errors when compiling with -no-gui -no-qml-debug
Change-Id: I33254477ad4535c898d1091b1275cc4d9a3de5d4
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/qml/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/qml/main.cpp b/tools/qml/main.cpp index 03925dfdb4..35df52d253 100644 --- a/tools/qml/main.cpp +++ b/tools/qml/main.cpp @@ -80,9 +80,11 @@ static bool verboseMode = false; static bool quietMode = false; static bool glShareContexts = true; static bool disableShaderCache = true; +#if defined(QT_GUI_LIB) static bool requestAlphaChannel = false; static bool requestMSAA = false; static bool requestCoreProfile = false; +#endif static void loadConf(const QString &override, bool quiet) // Terminates app on failure { |