Files
qt-creator/src/plugins/cmakeprojectmanager
Cristian Adam 412eeefafa CMakePM: Detect CMAKE_PREFIX_PATH from qmake's path when empty
If qmake -query fails for some reason then %{Qt:QT_INSTALL_PREFIX} would
evaluate to an empty string and CMAKE_PREFIX_PATH will not help CMake
find Qt packages.

By using the path to qmake itself we can safely determine a valid
CMAKE_PREFIX_PATH and CMAKE_FIND_ROOT_PATH.

Fixes: QTCREATORBUG-31194
Change-Id: Ib649dd57bfe3a97ef93a42603d83331922f99612
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-07-05 09:01:23 +00:00
..
2024-06-24 14:48:17 +00:00
2024-05-27 12:38:48 +00:00