Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I did apt-get install qtcreator and it installed qt 4.5.3(qt4.5.2real) I had qt 4.5.2. If I go in Applications->programming I see 2 shortcuts for qtcreator, one of them being newer. How do I remove the older one? On another note, if I want to update Qt to 4.6 what would be the steps if I already have qt 4.5

share|improve this question
up vote 3 down vote accepted

If you just want to get rid of the extra shortcut, use alacarte to edit the Gnome menus (System > Preferences > Main Menu). Just go in, figure out which is the extra shortcut (by looking at the Properties for each), and uncheck the box in the "Show" column to remove it.

alt text

If the extra shortcut is an additional version of the program and you want to get rid of it, you'll need to see if you can remove the package that installed it. Gnome and Alacarte gets their information about installed programs from the *.desktop files in /usr/share/applications, so check to see if there are multiple qtcreator.desktop* files in that directory, and what packages installed them:

$ dpkg -S /usr/share/applications/qt*creator*.desktop

The next step would be to uninstall the extraneous package, but be careful to uninstall the correct one.

dpkg will fail to find multiple packages if you installed qtcreator from source.

Unfortunately I don't know anything about upgrading to Qt 4.6; it might depend on what version of Ubuntu you're using, and how willing you are to get your hands dirty. Ubuntu Karmic 9.10 does not appear to have Qt 4.6 in the standard repositories, but it may be available elsewhere.

According to this post on Ubuntu Forums, Qt 4.6 breaks binary compatibility with 4.5 and so packages that depend on Qt would need to be recompiled to work. Thus, Qt 4.6 is unlikely to be officially backported.

This post on arora-dev gives a PPA: ... Use at your own risk.

The best way to update may be to wait for Ubuntu 10.04 (Lucid); it will use Qt 4.6 out of the box. If you want to help alpha/beta test, you can check out the latest Alpha2.

share|improve this answer
great answer! thx :D – user16654 Feb 23 '10 at 20:56
actually I could not find the second package even though it can start. I did do the update with a diff so maybe both are available at the same time? I am a bit noob in this department – user16654 Feb 23 '10 at 21:44

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .