Add the installation prefix of “Qt5Widgets” to CMAKE_PREFIX_PATH

后端 未结 5 1652
暗喜
暗喜 2020-12-14 15:08

I don\'t know a lot about cmake, I\'m trying to build a client using cmake and Qt. Getting the following error:

CMake Error at alethzero/CMakeLists.tx

5条回答
  •  死守一世寂寞
    2020-12-14 15:54

    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\\")
    

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

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

提交回复
热议问题