Some Further Notes on Qt in Ubuntu

Mark recently blogged about plans to make Qt a first-class citizen alongside GTK in Ubuntu. He outlined the reason for the plan in the opening few paragraphs:

As part of our planning for Natty+1, we’ll need to find some space on the CD for Qt libraries, and we will evaluate applications developed with Qt for inclusion on the CD and default install of Ubuntu.

Ease of use, and effective integration, are key values in our user experience. We care that the applications we choose are harmonious with one another and the system as a whole. Historically, that has meant that we’ve given very strong preference to applications written using Gtk, because a certain amount of harmony comes by default from the use of the same developer toolkit. That said, with OpenOffice and Firefox having been there from the start, Gtk is clearly not an absolute requirement. What I’m arguing now is that it’s the values which are important, and the toolkit is only a means to that end. We should evaluate apps on the basis of how well they meet the requirement, not prejudice them on the basis of technical choices made by the developer.

Mark then goes on to outline some of the challenges (e.g. system settings), some of the solutions (e.g. Canonical are funding development from Ryan Lortie to build dconf support into Qt), and he also discusses how Qt apps should be welcome in the Ubuntu installation if they represent best-of-breed for the Free Software desktop. I couldn’t agree more.

Before Mark wrote the blog entry, he talked to the Ubuntu Community Council and the GNOME Board, and the Community Council asked for a short FAQ that outlined some of the likely common questions. I prepared it and thought it would be useful to share it here:

  • Why is Ubuntu shipping Qt on the CD in 11.10? – there are two drivers behind this decision. Firstly, the Ubuntu project is working to ensure that Qt application developers can write apps which fit into the Ubuntu desktop smoothly. It is important that Ubuntu, as a platform, address the needs of developers, giving them as much flexibility as possible while retaining a coherent standard experience for users. Secondly, giving developers the extra toolkit option should mean we end up with better apps all round as the range of apps for assessment and inclusion will be wider. The key criteria for evaluation of any app for inclusion are independent of the actual toolkit. We won’t ship an app by default that we don’t think offers a great experience, not just on a standalone basis but as part of the whole system.
  • Does this mean you are moving away from GNOME and GTK? – we will still continue to ship Unity and GNOME applications. The decision to support Qt in the default install is an additive decision. It is not intended to replace GTK+ or GNOME. Qt has proven itself as a high quality toolkit, popular with developers, and we want to be able to support this effectively in Ubuntu as well as Kubuntu.
  • Does this mean you are supporting GNOME less? – not at all. Ubuntu will continue to be built on GNOME technologies and ship GNOME applications. This decision is not reducing our commitment to GTK or GNOME, it is merely expanding it to include Qt.
  • Are you now therefore moving to KDE? – we have no plans to ship KDE as the default desktop in Ubuntu. We will of course continue to provide the KDE experience in Kubuntu.
  • How will you manage some of the outstanding technical integration issues? There are some areas in which Qt does not neatly fit into the Ubuntu desktop experience and Canonical is investing in resolving some of these issues with Qt. Our desktop team engineers will be performing work to first ensure Qt is a well supported component in Ubuntu, but also so it integrates as best as possible in the Ubuntu desktop experience. We are also going to fund the work needed to make Qt / QML apps talk dconf, which means they can share settings and setting-update behaviors with GTK apps very easily. This work is being performed by Ryan Lortie from the GNOME project under contract to Canonical.
  • Does this mean Qt apps could be included on the CD? – we’ll be open to Qt apps being included in Ubuntu if they are appropriately integrated. If an application integrates well into the Ubuntu experience, we would be open to its inclusion in a release to offer the best experience for Ubuntu users. By “integrates well” we mean things like: uses the dconf configuration system with live adoption of settings changes, follows Ubuntu font and theme settings automatically, uses our menu and indicator and notification system appropriately etc.

Personally, I think this is a great step forward. I used to hack with Qt many moons ago, and while I changed to use GTK as my preferred toolkit, recent innovations in Qt (such as the incredible QML) and it’s popularity with developers, makes this not only a wise choice for app authors who want to build Qt apps on Ubuntu, but also for Ubuntu users who will have a rich set of Qt apps open to them. This doesn’t change our relationship with GNOME or GTK, it is purely an additive decision, and I think it will serve our users well.

Rock and roll!

Originally  posted by Jono Bacon here on January 18th, 2011.

Bookmark the permalink.

10 Responses to “Some Further Notes on Qt in Ubuntu”

  1. James Bond Says:

    So does mean the Ubuntu Blu-ray release will come out!

  2. brad Says:

    can’t wait 😀

  3. mvniekerk Says:

    I love it!
    I remember when Red Hat made Qt and GTK “look” the same and both communities where infuriated. This is a more moderate step – the Qt apps must FiFo – fit in or go away… So it is up to the Qt dev to make it fit into Ubuntu, not the other way around.

  4. ethana2 Says:

    I think shipping both GTK and Qt by default is the first step to pulling Xorg entirely out of the equation, and I think it will be very well executed.

  5. Dante Says:

    Does this mean KDE/Kubuntu might be getting some more Ubuntu love?

  6. Sajib Says:

    Whatever you guys do, just make sure you don’t make Ubuntu too much complicated. Or else, we’ll have to move over.

  7. Serge Mayné Says:

    Concerne: X86-64 for Intel & AMD dual core

    Please check your distribution, because is not possible to install Ubuntu on an Netbook ACER ASPIRE 5520G !!!!! the installation is stopped at + or – 65%

    Only OpenSuse 13.1 X86-64 is working on this netbook ??????

  8. Me Says:

    Only problem I see here is that many Qt apps are just too bulky with all the gazillions of preferences. Gtk apps are just neater and more user friendly in that sense.

    As long as gnome is the default desktop, I don’t complain.

  9. Juan Due Says:

    Hope this does not start another religious war. I bet an average computer user does not know, or care, what a toolkit is. As long as an application is good, it does not metter to me in what toolkit is written. Better integration between GTK/Gnome and QT is nevertheless welcomed.

  10. Jarek Says:

    well…i am stick with Ubuntu, and will with 11.04 and 11.10 releases but i will rather switch to gnome shell..and with QT apps it can be pretty dope.

Leave a Reply