CefView / QCefView

A Qt Widget encapsulated CEF view based on QWidget
https://cefview.github.io/QCefView/
GNU Lesser General Public License v2.1
502 stars 133 forks source link

[BUG]: linux平台下,QCefContext即使在Release下实例化依然会堵塞 #355

Open luodaxian1106 opened 7 months ago

luodaxian1106 commented 7 months ago

Describe the bug 【Bug描述】

新建一个空白的Qcef工程,realse和debug都在QCefContext实例化时堵塞

main.cc 2023-12-05 15-43-26 的屏幕截图

mainwindow.cc 2023-12-05 15-44-26 的屏幕截图

Environment 【BUG产生的环境】

Additional context 【更多额外信息】

...

luodaxian1106 commented 7 months ago

QCef版本为 V1.1.0,CEF版本为102.0.5005.115

ztz0223 commented 7 months ago

在sample 下面的test cmakefile里面有提及debug会有问题,必须要强行指定链接,也就是防止在运行的时候,libcef so 在libc之后加载。我发现我这边release也有问题,如下处理: unix:LIBS += -L$$PWD/3rd_Party/Linux/bin -lcef -lQCefView unix:QMAKE_LFLAGS += -Wl,--no-as-needed

jackjackphp commented 3 months ago

nice alert, it help me