Is Qt binary compatible?

Qt is backwards binary and source compatible within each major release. This means that a program linked dynamically to e.g Qt 4.5.1 will continue running with Qt 4.5.3 without the need to recompile. Qt is not binary compatible between major versions such as Qt 2.x, Qt 3.x and Qt 4.x etc. Qt is also not forwards compatible, meaning that applications created with a newer version of Qt will not necessarily run or compile against older Qt versions.

3 comments

December 3, 2010

Picture of QtK QtK

Lab Rat

Will this be still applicable. I found some issues with QML. Older scripts not running.

May 6, 2011

Picture of sigrid sigrid

Lab Rat

Qt is still binary compatible after Qt Quick was released. QML scripts are not linked to binary compatibility but should still be source compatible in the same way Qt is. If you are experiencing bugs regarding this, then please report them here:

http://bugreports.qt.nokia.com

December 20, 2012

Picture of mitchc mitchc

Lab Rat

This page has been created to better address this question: http://qt-project.org/wiki/Qt-Version-Compatibility

Write a comment

Sorry, you must be logged in to post a comment.