grimx Posted January 24, 2008 Report Share Posted January 24, 2008 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] Quote Link to comment Share on other sites More sharing options...
neddie Posted January 24, 2008 Report Share Posted January 24, 2008 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 ;) Quote Link to comment Share on other sites More sharing options...
scarecrow Posted January 25, 2008 Report Share Posted January 25, 2008 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. Quote Link to comment Share on other sites More sharing options...
tyme Posted January 25, 2008 Report Share Posted January 25, 2008 if you're using a KDE version prior to 4 you need QT3, I believe. KDE3.x and below will not run on QT4. Quote Link to comment Share on other sites More sharing options...
scarecrow Posted January 25, 2008 Report Share Posted January 25, 2008 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. Quote Link to comment Share on other sites More sharing options...
Greg2 Posted January 25, 2008 Report Share Posted January 25, 2008 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)? Quote Link to comment Share on other sites More sharing options...
grimx Posted January 28, 2008 Author Report Share Posted January 28, 2008 (edited) 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 January 28, 2008 by grimx Quote Link to comment Share on other sites More sharing options...
grimx Posted January 28, 2008 Author Report Share Posted January 28, 2008 my env var QTDIR = /usr/lib/qt3 my PATH includes the Qt4 path Quote Link to comment Share on other sites More sharing options...
Guest fredstah Posted January 28, 2008 Report Share Posted January 28, 2008 my env var QTDIR = /usr/lib/qt3my PATH includes the Qt4 path For Qt4 apps, your QTDIR should be set to your Qt4 install path. Quote Link to comment Share on other sites More sharing options...
grimx Posted January 28, 2008 Author Report Share Posted January 28, 2008 meaning /usr/lib/qt4 Quote Link to comment Share on other sites More sharing options...
grimx Posted January 28, 2008 Author Report Share Posted January 28, 2008 do i leave the Qt3 entries that are in the PATH var the qt3 entries come after the qt4 entries Quote Link to comment Share on other sites More sharing options...
Greg2 Posted January 28, 2008 Report Share Posted January 28, 2008 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. Quote Link to comment Share on other sites More sharing options...
grimx Posted January 28, 2008 Author Report Share Posted January 28, 2008 my PATH includes the qt3 entries plus ( /usr/local/Trolltech/Qt-4.3.3/) i do have that qt4.1 repo Quote Link to comment Share on other sites More sharing options...
grimx Posted January 28, 2008 Author Report Share Posted January 28, 2008 the reason y i downloaded qt4 .tar.gz is because my DSL line is down so i had to use my friends Window box to download it Quote Link to comment Share on other sites More sharing options...
grimx Posted January 28, 2008 Author Report Share Posted January 28, 2008 so as long as my PATH and QTDIR are set to Qt4 values it should work then?? well if does'nt i'll be back tomarrow Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.