Jump to content

Installing Qt4


Recommended Posts

Using Mandriva 07

 

I have Qt3 already installed, and i just downloaded Qt4.3 from Trolltech.com.

I alread unpacked the .gz file.

Now do i just install it even though Qt3 is already there

or do i uninstall Qt3 before hand????

 

 

[moved from Software by spinynorman]

Link to comment
Share on other sites

It's much easier to install using urpmi, is there a reason you particularly need that gz version?

 

I'm pretty sure both sets of development tools will sit happily side-by-side, but if it was me I'd uninstall the qt3-devel stuff just to be sure of what's going on. Don't try and uninstall qt3 though, because lots of apps rely on it ;)

Link to comment
Share on other sites

Yeah, why not "urpmi qt4-common"

You may need some other qt4 packages for your needs.

Sometimes you may have to compile from source, but this is unlikely for things like gtk and qt: they are included in every distro out there right out of the box.

Link to comment
Share on other sites

if you're using a KDE version prior to 4 you need QT3, c believe. KDE3.x and below will not run on QT4.

 

he already has QT3 installed if he's running KDE3.x - so my guess is he wants to install QT4.

QT4 can coexist with QT3 perfectly well... you just have to switch environment profiles whenever you want to compile something using a specific QT version.

Link to comment
Share on other sites

We need to know what version 'exactly', you d/l from Trolltech? What do you want to do with it? In any case, you (as has already been noted) can have both versions (libs & devel) sit happily side-by-side. :) I have three versions on my dev box, with KDE.

 

So what version (Commercial, Open Source), what for (desktop, embedded, phone)?

Link to comment
Share on other sites

On Mandriva 07

KDE 3.5

i have installed

Qt3.3.6 (devel, common, libqt3) -18mdv2007.0

 

I downloaded

qt-X11-opensource-src-4.3.3.tar.gz

 

using just for gui programming

 

i ran .cofigure and then make and then ( su -c "make install") and so on, to build and install it.

but qtdemo exe does not work

and it wont compile Qt4 apps but it will compile Qt3 apps.

and Qt4 does not show up in MCC installed programs section.

 

Help

Edited by grimx
Link to comment
Share on other sites

Guest fredstah
my env var QTDIR = /usr/lib/qt3

my PATH includes the Qt4 path

For Qt4 apps, your QTDIR should be set to your Qt4 install path.

Link to comment
Share on other sites

Unless you did ./configure with the -prefix-install option, you have probably installed in /usr/local/Trolltech/Qt-4.3.3/. If that is the case, you will have to set your environment $PATH accordingly.

 

You have qt4.1.4 available in your 2007 repos. Do you need qt4.3.3? I'm just curios.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...