Lisandro Damián Nicanor Pérez Meyer: Qt in Debian: using Qt4 and/or Qt5 in your packages
Hi everyone! We now have both Qt4 and Qt5 in the archive. Those using Qt4 should not need to make any changes in their packages, although you can be extra-safe with a few steps. Don't rush, just read below.Some backgroundSune took the time some months ago to consult upstream for a sane way to allow both SDKs to coexist without us distros having to reinvent the wheel choosing which tools have to be in use in each case.
After a long discussion, upstream decided to write qtchooser (already in the archive) to be able to select between Qt4, Qt5 and even special user's cases like cross-platform builds.
So instead of going trough Debian's alternatives as we did with Qt3/Qt4, we will make use of this new tool.
My package uses Qt, how should I proceed?There are many ways of choosing either of the versions of Qt:
- Using any qtchooser method (preferred):
* Exporting QT_SELECT with 4, qt4, 5 or qt5 as a value in debian/rules.
* Call the tool using the '-qtx' parameter, where x can be replaced with any of the options above.
- Build-depending on qt4-default or qt5-default. You can't B-D on both of them, as they can't coexist.
It is good to notice that:
- any qtchooser method will take precedence over build depending on qtX-default.
- If you export XDG_CONFIG_DIRS it will ignore the default paths to qtchooser's configs we setted up in the packages.
We have also provided qt4-[arch-triplet] and qt5-[arch-triplet] options for special cases.
Once again, if you are already using Qt4, there is no need to rush. See below.
Can is use both Qt4 and Qt5 in my package?You can't mix Qt4 and Qt5 in the same binary, but you may provide libraries compiled against one or the other. For example, your source package foo could provide both libqt4foo1 and libqt5foo1. You need to mangle your debian/rules and/or build system accordingly to achieve this. At the time of this writing I don't know of any examples yet.
So are you going to break the archive with a big transition?No, we have done our best to avoid having to make any changes to existing Qt4 packages. Qt tools should default to Qt4 except if overriden by any method described above.
My package uses Qt4, can I leave it as it is?While there is no need to apply the changes in this case, explicitly setting the Qt version will surely not hurt at all. But don't rush ;-)
[no pictures here, just a short report].
Today DebConf, this year's edition of the annual Debian developer
conference, started with two inspiring talks about Debian proper, one by
Lucas Nussbaum, the other by Joey Hess.
This also means that yesterday DebCamp ended, the period preceeding
DebConf and dedicated to working on Debian together with others.
Here's a short report from my point of view:
I arrived here on Tuesday, the first day of DebCamp. I immediately fell
in love with the venue, & despite the early stage of setup, everything I
needed was working fine for me from the very start.
Like in previous years, I used the time to do work in the Debian Perl
Group, especially taking advantage of the presence of other team members.
That's the great thing about DebCamp & DebConf: collaborating in
real-life & real-time, from quickly asking a question over sitting
together to think about solutions for a problem to "just" chatting &
thereby developping ideas for the future.
In the previous days I
Yesterday evening I've arrived at

Cloud is passing the hype curve and we are seeing more stable developments and offerings on the market. Lately I ve been playing with RedHat s Openshift. Openshift is a PaaS (Platform as a Service) offering that intends to be an alternative for vendors such as Heroku. The focus for such offerings is to give developers enough flexibility and tools that handle the application deployment and maintenance process in a way that is integrated with their existing development workflow and tools.
I ve been using Heroku for a while to deploy small to medium size projects. I liked the tools and developer-centered experience they offer. Openshift is quite new on the market and it comes in two flavors:
So debcamp has been going on for just over five days now, and it's
been a success and a failure at the same time.
A success, because the organization is wonderful, the food is good,
the location is excellent, and the fun is everywhere.
A failure, because with all these nice things going on, I've done
only 300 lines of code (or so) of the nbd-server rewrite that I'd
planned to do.
Ah well. I suppose I'll have to either cram, or find another time to
do so, then.
I'm going to debconf13. After been in debian for quite a long time, I finally will see in person some of those mail address I see for so long.
If you're tempted to add a platform-specific quirk to a Linux driver, pause and do the following:
So... Well, contrary to the popular sentiment in
This is the first DebConf I miss in ten years, so... Yes, it's a big bummer for me. I'm not attending because this year, DebC(amp onf) coincide with the two first weeks of classes at my university And as a new teacher, I cannot afford to miss it!
Anyway, but that should not stand in the way to attend a nice Debian 20th anniversary party!
Parties will be held 

A minor maintenance release of