[QBS] Build graph QDataStream format (IMPORTANT!)

Jake Thomas Petroules jake.petroules at petroules.com
Mon Mar 18 15:35:20 CET 2013


Just as importantly, why is this crashing instead of failing gracefully with an error message?
-- 
Jake Petroules
Chief Technology Officer
Petroules Corporation ยท www.petroules.com
Email: jake.petroules at petroules.com

On Mar 18, 2013, at 10:10 AM, Christian Kandeler <christian.kandeler at digia.com> wrote:

> Hi,
> 
> we only noticed today that we had completely forgotten to version our 
> build graph files with respect to the version of the QDataStream format 
> which is used to read and write it. This means that if you built your 
> project with qbs compiled against Qt4 and then built it again with qbs 
> compiled against Qt5 (or vice versa), qbs would crash.
> We have now fixed the QDataStream format version at the one used by Qt 
> 4.8.0, which is the lowest Qt version which you can use to build qbs. 
> While this solves the aforementioned problem, it also means that loading 
> existing build graphs might now fail, most likely with a crash. 
> Therefore, when using qbs after patch 9df9b0e8, you must manually delete 
> all existing build graphs if they were written by an older qbs built 
> against Qt > 4.8.0.
> 
> Sorry for the inconvenience,
> Christian
> 
> 
> _______________________________________________
> QBS mailing list
> QBS at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qbs

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20130318/fb3ca48f/attachment.html>


More information about the Qbs mailing list