且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

添加“Qt5Widgets"的安装前缀;到 CMAKE_PREFIX_PATH

更新时间:2022-05-01 04:25:35

好吧,这里有一个适用于 Windows 的解决方案:如何在windows上找到qt5 CMake模块

Well, here you have a solution for Windows: How to find qt5 CMake module on windows

set (CMAKE_PREFIX_PATH "C:\Qt\Qt5.0.1\5.0.1\msvc2010\")

对于您的环境,我认为您将不得不更改Qt所在的路径...

For your environment, I think you will have to change the path where Qt is located...

也许这会对您有所帮助:
https://github.com/Cockatrice/Cockatrice/issues/205

Maybe this will help you:
https://github.com/Cockatrice/Cockatrice/issues/205