CefView / QCefView

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

[BUG]: Linux系统下Release模式,libqcefview、libcef动态库仍为debug版本 #273

Closed L-Super closed 1 year ago

L-Super commented 1 year ago

Describe the bug 【Bug描述】

当我使用Qt Creator选择Release模式,或者命令行执行CMake显式指定Release模式,而且终端cmake输出的信息也是显示Release版本

但编译后output里的动态库仍然为debug版本的,占用空间很大,libcef.so占用1G大小。与cef Debug目录下的so文件一致。

To Reproduce 【复现步骤】

cmake .. -DCMAKE_BUILD_TYPE=Release
make

Expected behavior 【正确的预期行为】

...

Screenshots 【截图】

...

Environment 【BUG产生的环境】

Additional context 【更多额外信息】

...

tishion commented 1 year ago

这个问题,我感觉是不是你看错了

L-Super commented 1 year ago

这个问题,我感觉是不是你看错了

是的,我弄错了

man345 commented 7 months ago

是release的库就是这么大吗?有一个多G

L-Super commented 7 months ago

是release的库就是这么大吗?有一个多G

不记得了,strip命令可以减少库大小

man345 commented 7 months ago

windows下的库还有办法裁剪吗?楼主

L-Super commented 7 months ago

windows下的库还有办法裁剪吗?楼主

Windows大小还好吧,再裁剪就得从源码下手了