diff options
author | Kevin Funk <kevin.funk@kdab.com> | 2017-07-27 21:51:33 +0200 |
---|---|---|
committer | Konstantin Tokarev <annulen@yandex.ru> | 2017-07-28 11:47:16 +0000 |
commit | 5978be31295eb78106fa968a86ba3182f31b2d21 (patch) | |
tree | 1a375d09ca5dcab826b971fc38ef4b027428cd04 /src/corelib/io/qsavefile.cpp | |
parent | aca9c93fa06e266dd44a74410eb129bdbc719607 (diff) |
Use correct paths in Qt5CoreConfigExtrasMkspecDir
Before we generated the following content:
set(_qt5_corelib_extra_includes "${_qt5Core_install_prefix}/X:/src/qt5.9/qtbase/mkspecs/win32-msvc")
Which lead to the following error when used:
CMake Error at Z:/build/qt59/qtbase/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:15 (message):
The imported target "Qt5::Core" references the file
"Z:/build/qt59/qtbase/X:/src/qt5.9/qtbase//mkspecs/win32-msvc"
=> We prefixed an absolute path with another absolute path which is
obviously wrong
After the patch we generate this content:
set(_qt5_corelib_extra_includes "X:/src/qt5.9/qtbase/mkspecs/win32-msvc")
This patch ensures we never prefix an absolute path additionally
Patch by Konstantin Tokarev
Change-Id: I05dab7f681958723594ceb78064be41798e83fb8
Task-number: QTBUG-61768
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Konstantin Tokarev <annulen@yandex.ru>
Diffstat (limited to 'src/corelib/io/qsavefile.cpp')
0 files changed, 0 insertions, 0 deletions