diff options
author | Stephen Kelly <stephen.kelly@kdab.com> | 2012-06-27 09:30:09 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-29 22:40:25 +0200 |
commit | 782c20349aaa53ae3ddf963103e6deb128573fba (patch) | |
tree | eabe74a04edfe79ed05b5b87038026d5d93ff32b /src/linguist/linguist.pro | |
parent | 23f54a8f559c54de6ffd172a8818676abf93b1d9 (diff) | |
download | qttools-782c20349aaa53ae3ddf963103e6deb128573fba.tar.gz |
Create a Qt5LinguistTools config file in the build directory.
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>
Diffstat (limited to 'src/linguist/linguist.pro')
-rw-r--r-- | src/linguist/linguist.pro | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/linguist/linguist.pro b/src/linguist/linguist.pro index 989de75bb..032ca80f2 100644 --- a/src/linguist/linguist.pro +++ b/src/linguist/linguist.pro @@ -27,7 +27,9 @@ contains(CMAKE_BIN_DIR, "$${CMAKE_QT_INSTALL_PREFIX_ESCAPED}.*") { } 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 |