Page 1 of 1

qBittorrent (Qt5) under KDE3

Posted: Wed Jun 29, 2016 11:58 am
by khrenj
First sorry for my English.

Recently qBittorrent was updated to Qt5. And now I have a problem with it under KDE 3.5.10 (yes, I'm still using it in 2016). It uses default (Breeze?) style and color scheme, although previous versions (Qt4) was used KDE4 settings (tweaked QtCurve style and my color scheme). But under KDE4 new qBittorrent looks like any other KDE3/KDE4/Qt4/Qt5 applications with current (my) KDE4 style and colors. The XDG_CURRENT_DESKTOP environment variable is set to "kde", it helps with Firefox and Qt4 applications but don't help with Qt5.

I tried to set QT_STYLE_OVERRIDE environment variable to "gtk+" (tried other variants but they aren't working for me). And with it qBittorrent looks better - it uses current color scheme and mostly current theme. But it also has some visual glitches, for example there are no some dividers in torrents lits header or in the side bar.

Yes, KDE3 is very old and nearly abandoned, but I think that this problem occurs also with window managers and not so popular desktop environments (LxQt?). So how qBittorrent detects that it has run from KDE4? And how can I make it to treat current DE as KDE4?

Also I have a similar problems with the newest version of SMPlayer (Qt5). And with QT_STYLE_OVERRIDE="gtk+" Qupzilla (Qt4) uses Gtk2 file dialogs for some reason.

I'm using openSUSE 13.2, KDE 3.5.10, KDE 4.11.20, Qt 4.8.6, Qt 5.4.2, qtcurve-kde3, qtcurve-kde4, qtcurve-qt5, qtcurve-gtk2, kde-gtk-config, kde3-gtk-engine.

Thanks for replies.

Re: qBittorrent (Qt5) under KDE3

Posted: Thu Jun 30, 2016 1:26 pm
by khrenj
Problem resolved. Just installed qt5ct and now smplayer and qbittorrent (both Qt5) uses my style and colors even under KDE3. For some reason in the openSUSE 13.2 qt5ct package is named libqt5-qtct, that's why I couldn't find it.