Closed yosagi closed 6 years ago
Modifying such paths by fixcmake.py in qt5-modularscripts could avoid this problem.
Possible solution: https://github.com/yosagi/vcpkg/commit/6e2a34cbbdd130fd141cf82a94a9098cbd1e6a72
A pull request is welcomed! 😄
PR gratefully accepted :)
Fixcmake.py Modify the tools/qt5 in the cmake file of the qt tool to the tools/${port} directory, but it only considers the file suffix of windows. Add the suffix of linux and osx to the regular expression to fix the issue. #8029
Some executables such as lrelease.exe in qt-tools are installed under "vcpkg\installed\x64-windows\tools\qt5-tools". However, multiple cmake files installed by qt-tools including Qt5LinguistToolsConfig.cmake, point the executable at the wrong directory
The location should be .../tools/qt5-tools/lrelease.exe.
Minimal CMakeLists.txt for reproducing this problem:
CMake Error from the CMakeLists.txt
I think qt5-scxml package also affected by this problem.