You are not logged in.

#1 2007-09-03 15:44:15

calef13
Member
Registered: 2007-06-10
Posts: 142

QT4 installation

Firstly, I'm not entirely sure this is the right thread, so sorry if I am wrong.

OK, I want to learn Qt, and I figured I might as well learn qt4 as kde4 is coming out and it's the newest version etc.. So I installed qt4 and qt4-doc. However, I get loads of compiler linking errors when I try to compile qt4 programs and I'm sure it's because /opt/qt4 isn't in my path. But I am concerned that I could break my kde or kdemod(laptop) installation if I include it, or am I worrying about nothing?

Offline

#2 2007-09-03 15:48:45

tardo
Member
Registered: 2006-07-15
Posts: 526

Re: QT4 installation

use 'qt-config' to switch between your qt configurations. e.g.
qt-config qt4 --> use qt4
qt-config qt  --> use qt3

I doubt it will break ur kde/kdemod installation either way.

Offline

#3 2007-09-03 17:16:42

calef13
Member
Registered: 2007-06-10
Posts: 142

Re: QT4 installation

thanks a lot, I'll give it a go.

Offline

#4 2007-09-03 19:16:59

saneone
Member
From: Warsaw, PL/Bridgeport, CT
Registered: 2007-06-05
Posts: 70

Re: QT4 installation

I've got Qt4 installed along with Qt3... I use KDEmod and everything is ok...


I never sleep, cause sleep is the cousin of death

Offline

#5 2007-09-03 20:45:04

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: QT4 installation

As root (or sudo):

qt-config qt4

Then as whatever user you're going to compile with:

source /etc/profile

To switch back:

qt-config qt

then the other line.

Offline

Board footer

Powered by FluxBB