Registered Member
|
Hello,
I'm wondering if it is possible to install two different versions of Qt on the same Linux machine. If yes, how should I set my environment? The purpose of this question is that I have compiled KDE 4.3.2 against some version of Qt (< 4.6) and now I want to compile kdewebkit and Arora using Qt 4.6 version which I read had "some very significant improvements to QtWebKit". Thanks, bolenti |
Administrator
|
It is possible to use two different versions of KDE on the same system. You need to compile Qt yourself and install it in a seperate prefix however, then set the following environment variables for applications you wish to use the updated Qt.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
In fact if i set the environment variables as stated above, all the system will be affected. I need to change these variables only for the two applications I want to compile with Qt 4.6 (Arora and kdewebkit). Is this possible? If yes how?
|
Administrator
|
Yes it is possible. You just set the variables when building Arora / kdewebkit and when you wish to run them. When you set variables in a terminal it only affects that terminal and applications spawned by it, not any other processes.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Cool. KDE 4.3.2 is really great and the forum too.
Thanks for the response. bolenti |
Registered Member
|
|
Administrator
|
Part of your posting has appeared to have been chopped off. Can you please edit the post to contain its entirety?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Yep, apparently something went wrong
My original message was: So if I want to compile Arora with qt 4.6, would I simply need this package?: http://aur.archlinux.org/packages.php?ID=30289 Note: it's not really a package itself, it installs as a package but is a script in fact (see PKGBUILD file) for Archlinux for downloading qt 4.6 stable branch from git and installing it to /opt. So what I would need to do, is simply download Arora source code, then specify the right $PATH (something like /opt/qt4.6/ propably) like seen here: http://groups.google.com/group/arora-de ... d2b7724f6f compile it, and that's it? Would this also make Arora use the QtWebKit from qt 4.6? |
Administrator
|
That package definitely sounds like it will do the job.
You should only need to set $PATH and $LD_LIBRARY_PATH to make it use Qt4.6.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Thanks a lot. Will try it out.
BTW, will this also make Arora use latest QtWebKit? Is it included into qt 4.6, or is it a separate branch? Another question - I've got 3.9GB free space on my root partition. Is it enough to store the downloaded the source, build, and then install it? |
Administrator
|
3.9GB should be enough, on my system the Qt build directory uses 1.7GB
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Ok, that's good. I'm planning to enlarge my / partition anyway.
How about the QtWebKit question? Will Arora use it, or do I need a package like this: http://aur.archlinux.org/packages.php?ID=28644 With PKGBUILD edited to link to /opt/qt4.6 ? I love Archlinux for those user-made unoffcial package scripts |
Administrator
|
Arora will use it as long as you set LD_LIBRARY_PATH to /opt/qt4.6/lib ( where_you_install_qt4.6/lib )
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
|
Administrator
|
Run 'which qmake' and post its output please.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]