stdware / qwindowkit

Cross-platform frameless window framework for Qt. Support Windows, macOS, Linux.
Apache License 2.0
490 stars 78 forks source link

找不到cmake文件 #68

Closed 1250890838 closed 4 months ago

1250890838 commented 4 months ago

CMakeLists.txt:8: error: By not providing "FindQWindowKit.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "QWindowKit", but CMake did not find one. Could not find a package configuration file provided by "QWindowKit" with any of the following names: QWindowKitConfig.cmake qwindowkit-config.cmake Add the installation prefix of "QWindowKit" to CMAKE_PREFIX_PATH or set "QWindowKit_DIR" to a directory containing one of the above files. If "QWindowKit" provides a separate development package or SDK, be sure it has been installed.

你好,我使用cmake引入这个库的时候报了这样一个错误,上面是报错信息,下面的报错那一行的具体代码

find_package(QWindowKit REQUIRED)

我看了下安装目录并没有看到FindQWindowKit.cmake这样一个文件,只有下面截图这几个文件

1

请大佬帮忙看看,谢谢

SineStriker commented 4 months ago

报错提示里不都告诉你该怎么办了吗?Configure参数添加-DQWindowKit_DIR=