View previous topic :: View next topic |
Author |
Message |
misterjuiceman n00b

Joined: 01 Aug 2008 Posts: 7
|
Posted: Tue Aug 05, 2008 5:38 am Post subject: qt3-static, qt-static use-flags |
|
|
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 |
|
 |
cjubon Guru


Joined: 03 Jul 2007 Posts: 450 Location: Vienna/Europe
|
Posted: Tue Aug 05, 2008 8:00 am Post subject: |
|
|
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 |
|
 |
MalleRIM Guru

Joined: 23 Jul 2007 Posts: 563 Location: China
|
Posted: Tue Aug 05, 2008 8:42 am Post subject: |
|
|
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 |
|
 |
shaumux Veteran

Joined: 13 May 2005 Posts: 1013 Location: Hamburg
|
Posted: Tue Aug 05, 2008 9:06 am Post subject: |
|
|
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 |
|
 |
misterjuiceman n00b

Joined: 01 Aug 2008 Posts: 7
|
Posted: Tue Aug 05, 2008 3:00 pm Post subject: |
|
|
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 |
|
 |
shaumux Veteran

Joined: 13 May 2005 Posts: 1013 Location: Hamburg
|
Posted: Tue Aug 05, 2008 4:14 pm Post subject: |
|
|
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 |
|
 |
reavertm Retired Dev

Joined: 05 Feb 2004 Posts: 265 Location: Wrocław
|
Posted: Sat Sep 13, 2008 3:23 am Post subject: |
|
|
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 |
|
 |
|