From a6a64aa429b7d9b12ef9bf33a552ee9b09932992 Mon Sep 17 00:00:00 2001 From: Martchus Date: Mon, 3 Jul 2023 21:58:18 +0200 Subject: [PATCH] Make warning about missing Qt translations dependent on BUILTIN_TRANSLATIONS_OF_QT --- cmake/modules/QtConfig.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/modules/QtConfig.cmake b/cmake/modules/QtConfig.cmake index cd075c4..e104fd6 100644 --- a/cmake/modules/QtConfig.cmake +++ b/cmake/modules/QtConfig.cmake @@ -373,7 +373,7 @@ if (NOT QT_TRANSLATIONS_FOUND) endif () # emit warning if no Qt translations found but built-in translations are enabled -if (BUILTIN_TRANSLATIONS AND NOT QT_TRANSLATION_FILES) +if (BUILTIN_TRANSLATIONS_OF_QT AND NOT QT_TRANSLATION_FILES) message( WARNING "Unable to find translations of Qt itself so Qt's translation files will not be built-in. Be sure Qt translations (https://code.qt.io/cgit/qt/qttranslations.git) are installed. Was looking under: ${QT_TRANSLATION_SEARCH_PATHS}"