Correct feature test in tst_qtranslator's CMake config

There is no QT_CONFIG_thread.
Thanks to Alexey Edelev for spotting why I couldn't run the test.

Pick-to: 6.6 6.5
Change-Id: I11c99d9b1ff8fed67b118028b76fba8ee6db3c42
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
This commit is contained in:
Edward Welbourne 2023-07-27 15:01:47 +02:00
parent ae7bc8803f
commit 4693c81268

View File

@ -11,7 +11,7 @@ if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
endif()
if (NOT QT_CONFIG_thread)
if (NOT QT_FEATURE_thread)
return()
endif()