首页 > 编程语言 > 详细

C++的二进制兼容问题(以QT为例)

时间:2015-12-28 20:23:27      阅读:482      评论:0      收藏:0      [点我收藏+]

二进制不兼容带来的问题(需要重新编译库文件,以前编译的失效):

http://my.oschina.net/lieefu/blog/505363?fromerr=f5jn7rct

二进制不兼容的原理:

https://techbase.kde.org/Policies/Binary_Compatibility_Issues_With_C%2B%2B

通俗的解释:
二进制兼容就是例如 5.4.1编译的应用可以和5.5.0的库一起使用
linux下比较常见
win, osx一般都自带对应的库,一般不用这种方式

自带库,一般就是指user32.dll这种东西?
qt库,非系统库

5.4.0的二进制不兼容好像只是windows上msvc编译器
https://raw.githubusercontent.com/qtproject/qtbase/dev/dist/changes-5.4.1

Restored binary compatibility with Qt 5.3.2 on Windows when using MSVC
2012 or MSVC 2013. This means that Qt 5.4.1 is no longer binary compatible
with Qt 5.4.0 when using either of those compiler

C++的二进制兼容问题(以QT为例)

原文:http://www.cnblogs.com/findumars/p/5083422.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!