You are not logged in.

#1 2018-03-12 03:45:17

Midnight Sun
Member
Registered: 2008-06-23
Posts: 47

Why so large? breeze 5.12.3-1 Qt theme

HI all.

I am trying to install a 'dark' theme on Arch with i3 wm. I always seem to be coding late into the night and my eyeballs are starting to boiling away looking at a bright screen. The breeze theme seems perfect because it has Gtk and Qt5 versions.
So the Gtk package is fine, but when it came to installing the Qt5 package (breeze 5.12.3-1) I noticed that it was an installed size of 294MiB. The list of dependancies includes a lot of kde packages and things like dosfstools and gptfdisk.
I was only expecting some icons, stylesheets, and Qt stuff.

Can anybody tell me what's going on here?
Do I need to install all that stuff to get the breeze theme, or can I just pick out a few files from the list and do something by hand to install them?

I tried looking for an alternative dark Qt5 theme, and read the Qt docs about stylesheets, but it all seemed to be about baking the style into an application itself rather than setting a system wide theme.
I read the Arch wiki on Qt, and 'Uniform look for Qt and Gtk', and I looked at the files for the Oxygen theme, but they were lots of C++ files.

Can anybody give me a pointer about how Qt5 does its theming?
Or just suggest a nice simple dark theme I can install without bringing in lots of dependancies.

Thanks for any help.

Last edited by Midnight Sun (2018-03-12 03:50:23)

Offline

#2 2018-03-12 08:31:05

seth
Member
Registered: 2012-09-03
Posts: 58,748

Re: Why so large? breeze 5.12.3-1 Qt theme

breeze is a kde theme, not a qt theme - if /usr/lib/qt/plugins/styles/breeze.so can resolve all libraries, you can probably still use it for that purpose.

Online

#3 2018-03-12 13:34:51

Midnight Sun
Member
Registered: 2008-06-23
Posts: 47

Re: Why so large? breeze 5.12.3-1 Qt theme

Thanks Seth

That's a great help. I'll download the files and look at them to learn more.

The libraries you mention, do you mean ones contained in the breeze package, or general ones that I might (or not) have installed already.
Are the libraries listed in the .so file, or should I just try it in a terminal and look for error messages. eg copy that .so file and in a terminal do...

myApp -style breeze


Thanks for your help, that's put me on the right track I think.

Offline

#4 2018-03-12 13:44:34

seth
Member
Registered: 2012-09-03
Posts: 58,748

Re: Why so large? breeze 5.12.3-1 Qt theme

Sorry, even the Qt style links kde libs:

ldd breeze.so
	linux-vdso.so.1 (0x00007fffe50e6000)
	libQt5Quick.so.5 => /usr/lib/libQt5Quick.so.5 (0x00007fa05866c000)
	libKF5WindowSystem.so.5 => not found
	libKF5Style.so.5 => not found
	libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007fa058443000)
	libKF5WaylandClient.so.5 => not found
	libKF5ConfigWidgets.so.5 => not found
	libKF5GuiAddons.so.5 => not found
	libQt5X11Extras.so.5 => /usr/lib/libQt5X11Extras.so.5 (0x00007fa05823e000)
	libKF5ConfigGui.so.5 => not found
	libKF5ConfigCore.so.5 => not found
	libQt5DBus.so.5 => /usr/lib/libQt5DBus.so.5 (0x00007fa057fb4000)
	libQt5Widgets.so.5 => /usr/lib/libQt5Widgets.so.5 (0x00007fa05775c000)
	libQt5Gui.so.5 => /usr/lib/libQt5Gui.so.5 (0x00007fa056f9d000)
	libQt5Core.so.5 => /usr/lib/libQt5Core.so.5 (0x00007fa056897000)
	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007fa056510000)
	libm.so.6 => /usr/lib/libm.so.6 (0x00007fa0561c4000)
	libc.so.6 => /usr/lib/libc.so.6 (0x00007fa055e0d000)
	libQt5Qml.so.5 => /usr/lib/libQt5Qml.so.5 (0x00007fa0557db000)
	libQt5Network.so.5 => /usr/lib/libQt5Network.so.5 (0x00007fa055450000)
	libXau.so.6 => /usr/lib/libXau.so.6 (0x00007fa05524c000)
	libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007fa055046000)
	libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007fa054e28000)
	libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x00007fa054bd7000)
	libGL.so.1 => /usr/lib/libGL.so.1 (0x00007fa05494c000)
	libpng16.so.16 => /usr/lib/libpng16.so.16 (0x00007fa054716000)
	libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x00007fa054476000)
	libz.so.1 => /usr/lib/libz.so.1 (0x00007fa05425f000)
	libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007fa054048000)
	libsystemd.so.0 => /usr/lib/libsystemd.so.0 (0x00007fa053dc8000)
	libicui18n.so.60 => /usr/lib/libicui18n.so.60 (0x00007fa053925000)
	libicuuc.so.60 => /usr/lib/libicuuc.so.60 (0x00007fa05356c000)
	libpcre2-16.so.0 => /usr/lib/libpcre2-16.so.0 (0x00007fa0532f4000)
	libdouble-conversion.so.1 => /usr/lib/libdouble-conversion.so.1 (0x00007fa0530e4000)
	libdl.so.2 => /usr/lib/libdl.so.2 (0x00007fa052ee0000)
	libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007fa052bcb000)
	/usr/lib64/ld-linux-x86-64.so.2 (0x00007fa058f79000)
	libssl.so.1.1 => /usr/lib/libssl.so.1.1 (0x00007fa052961000)
	libcrypto.so.1.1 => /usr/lib/libcrypto.so.1.1 (0x00007fa0524e4000)
	libGLX.so.0 => /usr/lib/libGLX.so.0 (0x00007fa0522b3000)
	libX11.so.6 => /usr/lib/libX11.so.6 (0x00007fa051f74000)
	libXext.so.6 => /usr/lib/libXext.so.6 (0x00007fa051d62000)
	libGLdispatch.so.0 => /usr/lib/libGLdispatch.so.0 (0x00007fa051aac000)
	libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007fa0517e3000)
	libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0x00007fa0515b7000)
	libgcrypt.so.20 => /usr/lib/libgcrypt.so.20 (0x00007fa05129b000)
	librt.so.1 => /usr/lib/librt.so.1 (0x00007fa051093000)
	liblzma.so.5 => /usr/lib/liblzma.so.5 (0x00007fa050e6d000)
	liblz4.so.1 => /usr/lib/liblz4.so.1 (0x00007fa050c58000)
	libicudata.so.60 => /usr/lib/libicudata.so.60 (0x00007fa04f0b0000)
	libpcre.so.1 => /usr/lib/libpcre.so.1 (0x00007fa04ee3d000)
	libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007fa04ec2d000)
	libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x00007fa04ea18000)

Online

#5 2018-03-12 14:51:45

Midnight Sun
Member
Registered: 2008-06-23
Posts: 47

Re: Why so large? breeze 5.12.3-1 Qt theme

Oh I see.

Thanks for posting that lld, never heard of that before. I thought .so was a theme definition file!! But it seems to be shared object file.

I guess I will have to find a another way, it's all getting too complicated.

Thanks for your help, that has saved me lots of digging around blindly.

Offline

Board footer

Powered by FluxBB