Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
qt3-static, qt-static use-flags
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
misterjuiceman
n00b
n00b


Joined: 01 Aug 2008
Posts: 7

PostPosted: Tue Aug 05, 2008 5:38 am    Post subject: qt3-static, qt-static use-flags Reply with quote

I'm about to install www-client/opera-9.51 and I noticed the qt3-static and qt-static useflags were available. It seems they're used for opera and skype, but I have no idea what they do compared to the qt3 and qt4 flags.
Back to top
View user's profile Send private message
cjubon
Guru
Guru


Joined: 03 Jul 2007
Posts: 450
Location: Vienna/Europe

PostPosted: Tue Aug 05, 2008 8:00 am    Post subject: Reply with quote

qt-static and friends use a built-in qt for opera which avoids dynamic linking to your standard qt. As a result you'll have at least two qt-s on your system, the shared one, and one exclusively used by opera. If you enable that use flag, you'll notice that the download will be larger: that's the additional qt.

This may be useful to avoid version incompatibilities. You should also use it if you want to run opera from X or on xfce and don't want to drag in qt (which is huge). If you're on KDE, however, you shouln't need it.
_________________
Mandrake Dec 2001 · Debian "Woody" Aug 2002 · Gentoo Jan 2004 · Funtoo Oct 2009
Back to top
View user's profile Send private message
MalleRIM
Guru
Guru


Joined: 23 Jul 2007
Posts: 563
Location: China

PostPosted: Tue Aug 05, 2008 8:42 am    Post subject: Reply with quote

just to make this a little more clear, static means static linking. The needed libraries are built into the binaries at compile time. You might use qt-static if you have just one qt program running. I have a skype with qt-static running on a 64bit system because I don't want the emul-linux-x86-qtlibs pulled in.
Back to top
View user's profile Send private message
shaumux
Veteran
Veteran


Joined: 13 May 2005
Posts: 1013
Location: Hamburg

PostPosted: Tue Aug 05, 2008 9:06 am    Post subject: Reply with quote

Also qt-static in opera atleast pulls in opera statically linked to qt4 library that means it will have an internal qt4 library
and qt3-static will have opera statically linked to qt3 library.
Opera doesn't have at package built against shared qt4.
So if you are on a system with mostly qt4 things like a system with kde4 and you don't want to pull in qt3 in a new slot then you might want to use the qt-static
Back to top
View user's profile Send private message
misterjuiceman
n00b
n00b


Joined: 01 Aug 2008
Posts: 7

PostPosted: Tue Aug 05, 2008 3:00 pm    Post subject: Reply with quote

ok thanks, so if im running kde 3.5, and I don't use any of those flags, opera will use the standard qt3 library?
Back to top
View user's profile Send private message
shaumux
Veteran
Veteran


Joined: 13 May 2005
Posts: 1013
Location: Hamburg

PostPosted: Tue Aug 05, 2008 4:14 pm    Post subject: Reply with quote

misterjuiceman wrote:
ok thanks, so if im running kde 3.5, and I don't use any of those flags, opera will use the standard qt3 library?
Yes, it wil use the qt library of your system.
Back to top
View user's profile Send private message
reavertm
Retired Dev
Retired Dev


Joined: 05 Feb 2004
Posts: 265
Location: Wrocław

PostPosted: Sat Sep 13, 2008 3:23 am    Post subject: Reply with quote

MalleRIM wrote:
I have a skype with qt-static running on a 64bit system because I don't want the emul-linux-x86-qtlibs pulled in.


Well, you have skype with qt-static on AMD64 because... you have no choice (enforced by amd64 profile) - sorry.
_________________
Maciek
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum