在clion上运行QCEFVIEW QT5.152 cef架构 cef_binary_102.0.10+gf249b2e+chromium-102.0.5005.115_linux64
使用代码为github上拉取的源码
git clone https://github.com/CefView/QCefView.git
git clone https://github.com/CefView/CefViewCore.git
Qcefview可以编译通过,但example 中main头文件#inlcude无法找到;
当我单独打开Qcefview exampl中的QcefViewTest;
Cmakelist 错误
CMake Error at CMakeLists.txt:266 (set_target_properties):
set_target_properties Can not find target to add properties to:
QCefViewTest
想知道如何修改错误
我把代码克隆下来看了一下,应该是它的代码有问题,里面出现了OS_WINDOWS和OS_LINUX,但是应该已经被弃用了,你可以尝试把OS_LINUX
改成CMAKE_HOST_SYSTEM_NAME MATCHES "Linux"
。