From b0fb6537f9f1f226e6256cda05c0d8a6ef30ef02 Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Wed, 13 Nov 2019 13:31:21 +0100 Subject: [PATCH] CMake: Do not require Qt LinguistTools They are only used optionally for the translations, so there is no need to require those. Change-Id: I9f84e0d62f7075394e9f260c11746e4327e60995 Reviewed-by: Alessandro Portale --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e29d793d7fd..5f42e82315b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,11 +35,13 @@ if (WITH_TESTS) endif() find_package(Qt5 - COMPONENTS Concurrent Core Gui LinguistTools Network PrintSupport Qml Quick + COMPONENTS Concurrent Core Gui Network PrintSupport Qml Quick QuickWidgets Sql Widgets Xml ${QT_TEST_COMPONENT} REQUIRED ) +find_package(Qt5 COMPONENTS LinguistTools) + find_package(Threads) # Get information on directories from qmake