I'm currently using QT3 comes with the KDE3 with Mandrake Linux. Now I want to Update it to QT4. Can anybody tells me how to do it.
I'm currently using QT3 comes with the KDE3 with Mandrake Linux. Now I want to Update it to QT4. Can anybody tells me how to do it.
Last edited by machathu; 2nd March 2006 at 08:02.
Did you search the forum for solutions? Did you read the installation document which comes with Qt4? What did you do at all?
You don't install Qt 4 over Qt 3. KDE currently relies on Qt 3, it simply doesn't work with Qt 4.
So just install Qt 3 and Qt 4 side by side.
I think that you have kde 3.x and have qt3.
So your paths are ok to work with qt3.
So the problem appear when you install qt4 when you have already qt3.
Yo need download qt4 and follow the instruccions.
But stop when the install instructions talk about the path definition.
This is the real problem, when you write qmake in the console inside your project directory
but what qmake your call the qmake from qt3 o qt4.
so i am not expert but why you dont modify your .bashrc and when you want to use qt3 comment the path for qt4 and viceversa when you want to use qt4.
you maybe can do a script to do this easier.
Or anybody knows something better?
I have done the following to use Qt3 and Qt4 side by side
is an alias defined in my .cshrc file which sets QTDIR to point to the Qt4. When I use qmake I use an alias for Qt 4's qmake i.e. 'qmake4'. Another way to do this could have been to use the setQt4 alias to set the PATH.
Good luck,
KjellKod
why the hell are you using such ugly workarounds ?
on my Kubuntu 5.10 the default way :
./configure
make
make install
worked fine...
Current Qt projects : QCodeEdit, RotiDeCode
Do you use both Qt 3 and Qt 4 at the same time?Originally Posted by fullmetalcoder
Bookmarks