Mint 17.3 / Ubuntu Trusty - Non-native Qt Look & Feel

Postings relating to old VirtualBox pre-releases
Post Reply
noteirak
Site Moderator
Posts: 5229
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Mint 17.3 / Ubuntu Trusty - Non-native Qt Look & Feel

Post by noteirak »

The Qt Look & Feel is not the native one (using Cinnammon), while 5.0 had the native one. See attached screenshots.
Package libqt5core5a is installed and other packages depend on it. Not sure if they actually use it (latest ownCloud client).
Attachments
vbox-5.1_beta2-non_native.png
vbox-5.1_beta2-non_native.png (122.68 KiB) Viewed 5259 times
vbox-5.0-native.png
vbox-5.0-native.png (119.17 KiB) Viewed 5259 times
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Dsen
Oracle Corporation
Posts: 165
Joined: 10. Sep 2007, 10:42

Re: Mint 17.3 / Ubuntu Trusty - Non-native Qt Look & Feel

Post by Dsen »

Hello,

I take it your both hosts using Cinnamon, right?
Thing is, in Qt5 devs decided to move out look&feel styles into separate plugins which are not in default Qt5 installation (so not in our Qt5 as well).
Instead of those styles they provided Qt5 with the default cross-platform Fusion style which should in theory look _native_ under every supported host / WM.
But also they put the responsibility of native Fusion look onto shoulders of the Desktop Environment developers, few of them did it right, few seems not.
It's really different from the Qt4 but at least looks native under Win/Mac and Ubuntu Unity, but seems not under Cinnamon.
Googling revealed that there is really a pita making Qt5 respect themes on Cinnamon DE.

Q: Do you use our Qt5 or system one?

P.S. I do not know that to advice even, googling proposed to use self-built stuff to configure Qt5 styles (which name I will not mention here to avoid advertising).
P.S.2. I will try to investigate if there is easy way we can fix that issue but I can't promise anything..
noteirak
Site Moderator
Posts: 5229
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Mint 17.3 / Ubuntu Trusty - Non-native Qt Look & Feel

Post by noteirak »

Follow up from our IRC conversation: the Qt library bundled are used since this is an older OS where Qt is still at 5.2.x. The system ones are not used.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
noteirak
Site Moderator
Posts: 5229
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Mint 17.3 / Ubuntu Trusty - Non-native Qt Look & Feel

Post by noteirak »

After upgrading to Mint 18, which is based on Ubuntu 16.04, the Look&Feel is native again. See attached screenshot.

Version of Qt5 installed:

Code: Select all

noteirak@max-laptop ~ $ dpkg -l *qt5* | grep ^ii
ii  libaccounts-qt5-1:amd64     1.14+16.04.20151106.1-0ubuntu1 amd64        QT library for single sign on
ii  libqt5core5a:amd64          5.5.1+dfsg-16ubuntu7.1         amd64        Qt 5 core module
ii  libqt5dbus5:amd64           5.5.1+dfsg-16ubuntu7.1         amd64        Qt 5 D-Bus module
ii  libqt5gui5:amd64            5.5.1+dfsg-16ubuntu7.1         amd64        Qt 5 GUI module
ii  libqt5network5:amd64        5.5.1+dfsg-16ubuntu7.1         amd64        Qt 5 network module
ii  libqt5opengl5:amd64         5.5.1+dfsg-16ubuntu7.1         amd64        Qt 5 OpenGL module
ii  libqt5printsupport5:amd64   5.5.1+dfsg-16ubuntu7.1         amd64        Qt 5 print support module
ii  libqt5qml5:amd64            5.5.1-2ubuntu6                 amd64        Qt 5 QML module
ii  libqt5quick5:amd64          5.5.1-2ubuntu6                 amd64        Qt 5 Quick library
ii  libqt5sql5:amd64            5.5.1+dfsg-16ubuntu7.1         amd64        Qt 5 SQL module
ii  libqt5sql5-sqlite:amd64     5.5.1+dfsg-16ubuntu7.1         amd64        Qt 5 SQLite 3 database driver
ii  libqt5webkit5:amd64         5.5.1+dfsg-2ubuntu1            amd64        Web content engine library for Qt
ii  libqt5widgets5:amd64        5.5.1+dfsg-16ubuntu7.1         amd64        Qt 5 widgets module
ii  libqt5x11extras5:amd64      5.5.1-3build1                  amd64        Qt 5 X11 extras
ii  libqt5xml5:amd64            5.5.1+dfsg-16ubuntu7.1         amd64        Qt 5 XML module
ii  libsignon-qt5-1:amd64       8.58+16.04.20151106-0ubuntu1   amd64        Single Sign On framework
Qt5 libs loaded by VirtualBox:

Code: Select all

noteirak@max-laptop ~ $ sudo lsof -p $(pidof VirtualBox) | grep -i qt5
VirtualBo 4035 noteirak  mem       REG               0,21           253683 /usr/lib/x86_64-linux-gnu/qt5/plugins/imageformats/libqjpeg.so (path dev=0,23)
VirtualBo 4035 noteirak  mem       REG               0,21           253684 /usr/lib/x86_64-linux-gnu/qt5/plugins/imageformats/libqico.so (path dev=0,23)
VirtualBo 4035 noteirak  mem       REG               0,21           253685 /usr/lib/x86_64-linux-gnu/qt5/plugins/imageformats/libqgif.so (path dev=0,23)
VirtualBo 4035 noteirak  mem       REG               0,21           253678 /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5.5.1 (path dev=0,23)
VirtualBo 4035 noteirak  mem       REG               0,21           253733 /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1 (path dev=0,23)
VirtualBo 4035 noteirak  mem       REG               0,21           253680 /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.5.1 (path dev=0,23)
VirtualBo 4035 noteirak  mem       REG               0,21           253600 /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.5.1 (path dev=0,23)
VirtualBo 4035 noteirak  mem       REG               0,21           253627 /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5.5.1 (path dev=0,23)
VirtualBo 4035 noteirak  mem       REG               0,21           253757 /usr/lib/x86_64-linux-gnu/libQt5OpenGL.so.5.5.1 (path dev=0,23)
VirtualBo 4035 noteirak  mem       REG               0,21           253781 /usr/lib/x86_64-linux-gnu/libQt5PrintSupport.so.5.5.1 (path dev=0,23)
VirtualBo 4035 noteirak  mem       REG               0,21           253695 /usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so (path dev=0,23)
VirtualBo 4035 noteirak  mem       REG               0,21           253687 /usr/lib/x86_64-linux-gnu/qt5/plugins/xcbglintegrations/libqxcb-glx-integration.so (path dev=0,23)
VirtualBo 4035 noteirak  mem       REG               0,21           253700 /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so (path dev=0,23)
VirtualBo 4035 noteirak  mem       REG               0,21           260574 /usr/lib/x86_64-linux-gnu/libQt5X11Extras.so.5.5.1 (path dev=0,23)
Attachments
vbox-5.1-beta2-mint18.png
vbox-5.1-beta2-mint18.png (99.8 KiB) Viewed 5140 times
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
rootsandculture
Posts: 1
Joined: 25. Jul 2016, 14:22

Re: Mint 17.3 / Ubuntu Trusty - Non-native Qt Look & Feel

Post by rootsandculture »

Same happens under Xenial (ElementaryOS Loki).
AFAIK there is no 5.0 Xenial version of Virtualbox.
Attachments
Screenshot.png
Screenshot.png (68.07 KiB) Viewed 5000 times
Screenshot from 2016-07-23 23_05_47.png
Screenshot from 2016-07-23 23_05_47.png (63.9 KiB) Viewed 5001 times
Last edited by rootsandculture on 25. Jul 2016, 14:40, edited 1 time in total.
Post Reply