Generate the Qt5LinguistConfig.cmake files independent of QtUiTools.
authorStephen Kelly <stephen.kelly@kdab.com>
Tue, 26 Mar 2013 19:51:12 +0000 (20:51 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 27 Mar 2013 12:34:58 +0000 (13:34 +0100)
commit7b6a627315f012598dca23d3ff978a09bfba7969
tree5a9193a0a9e22325cb2a196d092ae12310b534ae
parentc216d3ced546dd160005912c90694a07b4626942
Generate the Qt5LinguistConfig.cmake files independent of QtUiTools.

The generation relied on the uitools module for the version, so
if it was not available, we got errors like this:

 WARNING: Cannot open substitute for output '/cmake/Qt5LinguistTools/Qt5LinguistToolsConfig.cmake'
 WARNING: Cannot open substitute for output '/cmake/Qt5LinguistTools/Qt5LinguistToolsConfigVersion.cmake'
 WARNING: Cannot open substitute for output '/cmake/Qt5LinguistTools/Qt5LinguistToolsMacros.cmake'

 http://testresults.qt-project.org/ci/QtTools_stable_Integration/build_00128/linux-g++_no-widgets_Ubuntu_12.04_x64/log.txt.gz

Use MODULE_VERSION for the version instead and MODULE_BASE_OUTDIR for the
generation location.

Change-Id: I9daa6878553015e841b6e41fd1f64eb60ada7774
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
src/linguist/linguist.pro
tests/auto/cmake/CMakeLists.txt
tests/auto/cmake/cmake.pro