From 740c809f942cce51d4dd889fbefb14b75f29fc1e Mon Sep 17 00:00:00 2001 From: Alexey Edelev Date: Wed, 23 Jul 2025 11:25:42 +0200 Subject: [PATCH] Move CmdLineGeneratedDir declaration out of SKIP_COMMAND_LINE_TESTS The variable is used unconditionally. Amends c91d02c007ca6e9e425c365214b3c9337490f794 Pick-to: 6.10 6.9 6.8 Change-Id: I36910a7b40f16a5a13bf2839a2e6c27aec5e7b26 Reviewed-by: Dennis Oberst --- tests/auto/grpcgen/tst_qtgrpcgen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/auto/grpcgen/tst_qtgrpcgen.cpp b/tests/auto/grpcgen/tst_qtgrpcgen.cpp index 1f279ed6..61b68d61 100644 --- a/tests/auto/grpcgen/tst_qtgrpcgen.cpp +++ b/tests/auto/grpcgen/tst_qtgrpcgen.cpp @@ -36,9 +36,9 @@ constexpr QLatin1StringView PluginKey(" --plugin=protoc-gen-qtgrpc="); constexpr QLatin1StringView OptKey(" --qtgrpc_opt="); constexpr QLatin1StringView OutKey(" --qtgrpc_out="); constexpr QLatin1StringView IncludeKey(" -I"); +#endif constexpr QLatin1StringView CmdLineGeneratedDir("cmd_line_generated"); -#endif #ifndef BINARY_DIR # error BINARY_DIR definition must be set