You are not logged in.

#1 2009-10-17 19:49:12

dalingrin
Member
Registered: 2009-03-18
Posts: 128

Qt 4.6 alongside official Qt 4.5.3

I would like to be able to test a few applications built against Qt4.6 while maintaining Qt4.5.3 for the rest of my system.
How can I do this? If I install Qt4.6 to /opt how can I build applications to use that version of Qt vs the default Qt4.5.3?

I'm looking to use the QtCreator 1.3 as well as Arora and Rekonq built with QtWebkit from Qt4.6.

Offline

#2 2009-10-17 20:00:13

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Qt 4.6 alongside official Qt 4.5.3

you can look at how qt3 is and on the packages that depends of it.


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2009-10-23 15:21:57

warnec
Member
From: Poland
Registered: 2009-06-22
Posts: 166

Re: Qt 4.6 alongside official Qt 4.5.3

What do you mean? Isn't qt3 something liek obsolete technology from kde3 times?

I'd like to know this as well. I'd like to compile Arora against QtWebKit from qt 4.6. I think this package is ok:

http://aur.archlinux.org/packages.php?ID=30289

But after I compile it and install into /opt, what should I do next to still have qt 4.5.3 working?

Last edited by warnec (2009-10-23 15:32:45)

Offline

#4 2009-10-23 16:06:58

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,405
Website

Re: Qt 4.6 alongside official Qt 4.5.3

I believe his point was that the alterations to the PKGBUILD to try and get Qt3 running alongside Qt4 probably can be used to install Qt4.6 alongside Qt4.5 (although I am not sure it will be that easy...)

Offline

#5 2009-10-23 16:55:17

dalingrin
Member
Registered: 2009-03-18
Posts: 128

Re: Qt 4.6 alongside official Qt 4.5.3

Would replacing Qt 4.5.3 with Qt 4.6 be that dangerous since it is binary and source compatible?

Offline

#6 2009-10-23 17:47:30

tavianator
Member
From: Waterloo, ON, Canada
Registered: 2007-08-21
Posts: 858
Website

Re: Qt 4.6 alongside official Qt 4.5.3

You can have a look at http://aur.archlinux.org/packages.php?ID=30289, which installs Qt 4.6 in /opt.

Offline

#7 2009-10-23 18:11:32

warnec
Member
From: Poland
Registered: 2009-06-22
Posts: 166

Re: Qt 4.6 alongside official Qt 4.5.3

That's the same I posted tongue

The problem is to make a source code of a program pick up the qt 4.6 binaries from /opt instead of the 4.5.3 ones. I'd like to compile Arora with qt 4.6.

There are some hints for compiling with QtWebKit trunk:
http://code.google.com/p/arora/wiki/source?tm=4 (and "Building with QtWebKit Trunk" paragraph)

but I want to compile it with whole qt 4.6, not only qtwebkit. (element hiding element from arora's adblock requires qt 4.6, and I want to test it)

EDIT:

Seems this could be what I'm looking for:

http://groups.google.com/group/arora-de … d2b7724f6f

Last edited by warnec (2009-10-23 18:13:27)

Offline

Board footer

Powered by FluxBB