CMake: Use path manipulation features from qtbase.
authorStephen Kelly <stephen.kelly@kdab.com>
Tue, 23 Jul 2013 07:22:17 +0000 (09:22 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 7 Aug 2013 12:16:54 +0000 (14:16 +0200)
commitcf0b35e221797f20caf0f9904237dea9905aecc8
treef5a76df52d86d9d80b121d285602293d43b99663
parent098ce1a269f50bb4d885b2b9a93951d88ff77a23
CMake: Use path manipulation features from qtbase.

The qtbase commit 4ce32f66 (Use new path manipulation functions
from qmake., 2013-01-18) used new qmake functions for path manipulation,
and commits 7ac58d1f (Make cmake packages installed to /usr
non-relocatable., 2013-02-11) and 5aa34962 (Handle usr-move without
forcing absolute paths, 2013-04-17) added handling of symlinks which
would otherwise break relative path calculation.

Port those patches to the qttools cmake files.

Task-number: QTBUG-32570
Change-Id: I7d22609c3a03be4b9197dd030d7e9bd6c2e04731
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
src/linguist/Qt5LinguistToolsConfig.cmake.in
src/linguist/linguist.pro