Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 326711 - app-emulation/virtualbox-bin add qt-static USE option
Summary: app-emulation/virtualbox-bin add qt-static USE option
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-03 06:58 UTC by App Deb
Modified: 2010-07-03 09:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description App Deb 2010-07-03 06:58:11 UTC
A USE flag to use system QT libraries instead of bundled would be helpful.

For example the VirtualBox bundled qt libraries don't support QGtkStyle, so you can't use native gtk looks.

I *think* that the distro-specific packages that Oracle provides use the distro's system libraries (at least for Fedora), so that means it is somewhat supported by upstream.

I haven't observed any problems using system libraries, but for safety the qt-static USE flag should be enabled by default.

Reproducible: Always

Steps to Reproduce:
1. Select "GTK+" (Which means QGtkStyle) under GUI Style in "qtconfig"

2. Open VirtualBox, QGtkStyle does not work, it uses a "basic" gtk style. Close it.

3. rm or mv /opt/VirtualBox/libQt*

4. Use system libraries:

ln -s /usr/lib64/qt4/libQtCore.so.4 /opt/VirtualBox/libQtCoreVBox.so.4
ln -s /usr/lib64/qt4/libQtGui.so.4 /opt/VirtualBox/libQtGuiVBox.so.4
ln -s /usr/lib64/qt4/libQtNetwork.so.4 /opt/VirtualBox/libQtNetworkVBox.so.4
ln -s /usr/lib64/qt4/libQtOpenGL.so.4 /opt/VirtualBox/libQtOpenGLVBox.so.4

5. Now VirtualBox uses the native GTK theme through QGtkStyle.



This will probably have more uses that just QGtkStyle, I have just encountered only this though.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-07-03 07:13:10 UTC

*** This bug has been marked as a duplicate of bug 323149 ***
Comment 2 App Deb 2010-07-03 07:37:45 UTC
Really sorry for not seeing the duplicates,

I repost here because it is the only bug that mentions USE flag for this,

But what exactly is wrong with the optional enabled by default "qt-static" USE flag that can also have an emerge warning about possible future problems?
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2010-07-03 08:38:03 UTC
I doesn't look like a duplicate to me either. Maybe a use flag might be appropriate even if it is unsupported by upstream

Re-assigning to maintainers 
Comment 4 Patrick Lauer gentoo-dev 2010-07-03 09:10:02 UTC
We decided that it's a bad idea. Mixing random Qt versions is not a good idea, and if you want to do it properly use virtualbox-ose.