Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
luodaxian1106 opened this issue Dec 5, 2023 · 3 comments

Comments

@luodaxian1106
Copy link

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
Copy link
Author

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

@ztz0223
Copy link

ztz0223 commented Dec 20, 2023

在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
Copy link
Contributor

nice alert, it help me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants