From ff8c6222e4e0716683705412d82c6a368ccd6c80 Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Tue, 16 Jan 2024 10:50:41 +0100 Subject: Fix some compile errors when compiling with -no-gui -no-qml-debug Change-Id: I33254477ad4535c898d1091b1275cc4d9a3de5d4 Reviewed-by: Fabian Kosmale --- tools/qml/main.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools') 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 { -- cgit v1.2.3