Add the installation prefix of “Qt5Widgets” to CMAKE_PREFIX_PATH

后端 未结 5 1659
暗喜
暗喜 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:53

    For ubuntu: cmake -DCMAKE_PREFIX_PATH=/home/ryan/Qt/5.11.2/gcc_64 ..

    /home/ryan/Qt/ is the Qt installation root path

提交回复
热议问题