QCefView icon indicating copy to clipboard operation
QCefView copied to clipboard

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

Open luodaxian1106 opened this issue 2 years ago • 3 comments

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产生的环境】

  • OSR/NCW Mode:默认
  • OS & Version: [e.g. Windows/macOS/Linux]Ubuntu 20.04.5
  • Qt Version: Qt 5.15.2
  • CEF Version: V1.1.0

Additional context 【更多额外信息】

...

luodaxian1106 avatar Dec 05 '23 07:12 luodaxian1106

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

luodaxian1106 avatar Dec 05 '23 07:12 luodaxian1106

在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

ztz0223 avatar Dec 20 '23 09:12 ztz0223

nice alert, it help me

jackjackphp avatar Mar 27 '24 13:03 jackjackphp