Jump to content
Sign in to follow this  
grimx

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]

Share this post


Link to post
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 ;)

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
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.

Share this post


Link to post
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)?

Share this post


Link to post
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

Share this post


Link to post
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.

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...