April 01, 2014 by Kai Koehne | Comments
It's been a while since Qt adapted git as its revision control system, and we've been experimenting with different branching models ...
In Qt 4 (qt.git) we followed a scheme with one master branch, which gets forked into minor version branches (e.g. 4.8), which gets forked into patch branches (e.g. 4.8.1) ... In the Qt 5 repositories we adopted a model where we had only three branches: dev, stable, release. This was aiming to make it easy for people to participate and submit patches, without having to worry too much about what's right now the 'right' branch to submit.
As it turned out, the dev/stable/release branching model however makes the release process unnecessarily hard, which resulted in a proposal to move back to the original Qt 4 model. After some back and forth the Qt project however seems now to opt for a more radical approach: Changing to a novel, 'one-branch' model.
The current proposal on the open development mailing list that so far got unanimous support from developers is to have only one git branch, 'qt'. This branch is at one point in time in different states, either in 'dev' state (allowing new features), 'stable' state (hardening), or 'release' state (for patch level releases).
The benefits of this approach are:
This approach leverages on the distributed nature of git: You can keep your non-critical commits locally, until the window for new features is open again.
Do you have experience with such a novel 'one branch model'? Are you aware of any git projects that follow the same model? Let us know!
Download the latest release here: www.qt.io/download.
Qt 6.8 release focuses on technology trends like spatial computing & XR, complex data visualization in 2D & 3D, and ARM-based development for desktop.
Check out all our open positions here and follow us on Instagram to see what it's like to be #QtPeople.
Feb 26, 2025
We are happy to announce the release of the Qt Tools for Android Studio..
Jan 30, 2025
Hey Qt! Guess who will be at FOSDEM this year? We will be there..
Jan 28, 2025
tldr; save the date for our QtCS25, May 7-8 in Munich. Stay tuned for more..