Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-30-2007, 09:01 AM   #1
Registered: Mar 2007
Location: Darwin, Australia
Distribution: Debian Lenny (testing)
Posts: 45

Rep: Reputation: 15
Exclamation How to switch Qt4 version


This is openSuse 10.2, Qt3 and Qt4 were installed during installation.

I had to download Qt4.2.3 source code and build it to get the SQL plugins. "qmake install" put Qt4.2.3 in another location from Qt4.2.1

I think I need to set the environment variables to point to the new installation so I can use it. Is this the right way to go ? If so, how do I do this ?

Last edited by vieraci; 04-30-2007 at 09:08 AM.
Old 04-30-2007, 03:36 PM   #2
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,571

Rep: Reputation: 171Reputation: 171
Using environmental variables is the right way to go. If I remember correctly you only need to switch QT_DIR. First try it from a single console
export QT_DIR=/your/new/qt/dir
Try to compile or run a Qt program to check if it works.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i install qt4? plainkeyman Ubuntu 5 06-20-2011 08:07 PM
IDEs with QT4 eantoranz Programming 9 11-16-2010 08:35 AM
Upgrade to QT4 jsebastian Ubuntu 1 03-03-2007 06:25 AM
Compiling qt4 apps for non-qt4 linux, win, mac birdseye Programming 4 10-31-2005 04:45 AM
export CC=/usr/bin/gcc-3.2 - switch gcc version? ferreter Linux - Software 1 08-20-2003 12:07 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:38 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration