PDA

View Full Version : How to upgrade Qt?



megabenman
7th October 2009, 03:44
I feel this is really simple and I'm just a total noob, but I've been searching for this for 3 hours now and can't find it. I'm running Kubuntu 9.04 and I think my Qt version is 4.5.0 I'm pretty sure. I'm on an iMac G5 and my KDE icons are glitchy (the icons are basically inverted colours). I found a bug report saying this is Qt related and is fixed in version 4.5.2.

My problem is... hah well I have no clue how to upgrade Qt and 3 hours of searching hasn't giving me anything... Any help? Thanks :)

yogeshgokul
7th October 2009, 07:11
1. Un-install old qt version.
2. Download latest version from here (http://qt.nokia.com/downloads).
3. Install.

megabenman
7th October 2009, 19:25
1. How do I uninstall it?
3. I can't just "install it" because I'm running a PPC so I have to download then complie it first, and I have no idea how to get it to compile or how to install it once it's finished.

codebehind
7th October 2009, 21:52
I have on may PC qt3, qt4.5.1 and qt4.5.3 is on the way, most important there is no problem at all to have all versions.

so as yogeshgokul suggested - first download the latest version.
untar it, go to the qt directory and run
./configure --help
that command will give you more answers on where and what to build.
when the configuration is done... run make and as root run make install

and here it is, a new version.

PS: you have in qt directory a file INSTALL and README and is a good thing you read it

rexi
8th October 2009, 20:54
I feel this is really simple and I'm just a total noob, but I've been searching for this for 3 hours now and can't find it.

It isn't as simple as you might think, at least when you want to do it right...


I'm running Kubuntu 9.04 and I think my Qt version is 4.5.0 I'm pretty sure. I'm on an iMac G5 and my KDE icons are glitchy (the icons are basically inverted colours). I found a bug report saying this is Qt related and is fixed in version 4.5.2.

According to http://packages.ubuntu.com/ you are right, the current version of Qt in Jaunty is 4.5.0...


My problem is... hah well I have no clue how to upgrade Qt and 3 hours of searching hasn't giving me anything... Any help? Thanks :)

There have been some hints on how to upgrade Qt already, but I'd advise not to follow them right now ;)

My reasons are the following:

First, there's the package management issue: You said you are using Kubuntu, so I assume you also use KDE. Qt is an integral part of KDE, and you cannot simply "remove" the older version of Qt without removing all of KDE, since it's packages would depend on Qt, and unless you repackage the whole baggage there's no way to remove said Qt 4.5.0 and keep your system intact at the same time.

Package management facilities are meant to keep your system in a consistent state all the time, and you shouldn't fiddle with them unless you know what you are doing...

Second, there is patience: Kubuntu 9.10 is due to be released by the end of October, and it will contain Qt 4.5.2 ;)

Oh, and be assured: I'm waiting just as eagerly as you for a newer version of Qt in Kubuntu. I have an iBook G4 and am experiencing the same color issues as you are.

NicholasSmith
9th October 2009, 11:43
If you're still determined you can use https://launchpad.net/~pgquiles/+ppa-packages as a new repository and it should upgrade it fine.

Of course, if everything sets on fire I take no responsibility ;) Thats from the kubuntu forums, direct link http://kubuntuforums.net/forums/index.php?topic=3104804.0