As it is not using qt_module_config, it is otherwise not created there,
which breaks CI.
Change-Id: Ia4264d721a4f4a70542bc50329fd77def23d3914
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
}
cmake_linguist_config_file.input = $$PWD/Qt5LinguistToolsConfig.cmake.in
-cmake_linguist_config_file.output = $$OUT_PWD/Qt5LinguistToolsConfig.cmake
+# NOTE: We need to put the linguist tools cmake files in the lib directory. The lib directory
+# as set by the uitools module is used for that, as linguist doesn't set such a variable.
+cmake_linguist_config_file.output = $$eval(QT.uitools.libs)/cmake/Qt5LinguistTools/Qt5LinguistToolsConfig.cmake
QMAKE_SUBSTITUTES += cmake_linguist_config_file
cmake_linguist_tools_files.files += $$cmake_linguist_config_file.output $$PWD/Qt5LinguistToolsMacros.cmake