XnView: MP 0.92 / 64 bit
OS: Arch / Manjaro Linux 64bit
After upgrading to version 0.92 the system theme is not applied to XnView. All other QT apps work fine with the system theme. Qt5ct is set up.
Tested systems: 2 Arch Linux, 3 Manjaro systems.
Effect: Xnview will only apply Qt's default theme.
To reproduce:
1. Install version 0.92
2. Start XnView
Actual behaviour (bug): Fails to apply system theme
0.92 Linux: system theme not adhered
Moderators: XnTriq, helmut, xnview, Dreamer
Re: 0.92 Linux: system theme not adhered
Hi,
please, look at this thread for further information on this bug, and a solution for version 0.92 in the last post.
For 0.93, I attach the missing libraries. As before, just untar the archive in your /opt/XnView directory.
To Pierre : the problem is that these libraries must be recompiled each time you upgrade Qt otherwise the system theme is not applied. To avoid this, you could simply add the system theme support to your project. I attach here the sources files (from Ubuntu package qt-style-plugins-src-5.0.0) of the libraries.
Thanks!
please, look at this thread for further information on this bug, and a solution for version 0.92 in the last post.
For 0.93, I attach the missing libraries. As before, just untar the archive in your /opt/XnView directory.
To Pierre : the problem is that these libraries must be recompiled each time you upgrade Qt otherwise the system theme is not applied. To avoid this, you could simply add the system theme support to your project. I attach here the sources files (from Ubuntu package qt-style-plugins-src-5.0.0) of the libraries.
Thanks!
- Attachments
-
- lib-qt5.9.7.tar.gz
- (574.35 KiB) Downloaded 49 times
-
- qtstyleplugins-src-5.0.0.tar.gz
- (305.35 KiB) Downloaded 42 times
Re: 0.92 Linux: system theme not adhered
Merci beaucoup Pierre...
Re: 0.92 Linux: system theme not adhered
Thanks a lot !
- Schattenjager
- Posts: 3
- Joined: Mon Feb 11, 2019 8:02 am
Re: 0.92 Linux: system theme not adhered
Hi,
@ roland65
Do we really need other files except libqgtk2style.so in the styles folder?
@ Pierre
Could you please also add libraries for users of qt5c? qt5ct allows you to use the system theme much better. I extracted these libraries from the package for Ubuntu 18.04 (version 0.34-1build2).
These libraries also must be recompiled when updating Qt. I attached the sources.
Upstream sources can be found here:
https://sourceforge.net/projects/qt5ct/
Thanks!
@ roland65
Do we really need other files except libqgtk2style.so in the styles folder?
@ Pierre
Could you please also add libraries for users of qt5c? qt5ct allows you to use the system theme much better. I extracted these libraries from the package for Ubuntu 18.04 (version 0.34-1build2).
These libraries also must be recompiled when updating Qt. I attached the sources.
Upstream sources can be found here:
https://sourceforge.net/projects/qt5ct/
Thanks!
- Attachments
-
- lib-qt5ct.tar.gz
- (119.96 KiB) Downloaded 39 times
-
- qt5ct_0.34-1build2.debian.tar.gz
- (3.18 KiB) Downloaded 38 times
Re: 0.92 Linux: system theme not adhered
so i need to add qt5ct AND qtstyleplugins, right?Schattenjager wrote: ↑Mon Feb 11, 2019 8:44 am @ Pierre
Could you please also add libraries for users of qt5c? qt5ct allows you to use the system theme much better. I extracted these libraries from the package for Ubuntu 18.04 (version 0.34-1build2).
Pierre.
- Schattenjager
- Posts: 3
- Joined: Mon Feb 11, 2019 8:02 am
Re: 0.92 Linux: system theme not adhered
That's right.
For XnView MP to use system theme on Ubuntu 18.10 with installed and configured qt5ct I had to copy these libraries:
libqgtk2.so and libqt5ct.so to /opt/XnView/lib/platformthemes;
libqgtk2style.so and libqt5ct-style.so to /opt/XnView/lib/styles.