Application Styles

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

13
Score 69.9%
Description:

Kvantum is an SVG-based theme engine for Qt4/Qt5 and KDE, i.e. a program for styling Qt applications with SVG images, with an emphasis on elegance, usability and practicality.

Kvantum comes with a default dark theme, inspired by the default theme of Enlightenment. Creation of realistic themes like that for KDE was my first reason to make Kvantum but it allows themes with very different looks and feels, whether they be photorealistic or cartoonish, 3D or flat, embellished or minimalistic, or something in between.

Kvantum also has extra themes, that are installed as root with Qt5 installation and can be selected and activated by using Kvantum Manager.

The core idea of Kvantum, namely using of SVG images for drawing Qt widgets, is taken from QuantumStyle (not developed anymore but continued as QSvgStyle at https://github.com/DexterMagnific/QSvgStyle).

*** Compilation and Installation ***

Please read the file INSTALL for detailed instructions on compilation and installation for Qt4 and Qt5!

For 64-bit Debian Testing (and, perhaps, other 64-bit Debian-based systems too), you could just use the deb package(s) at https://github.com/tsujan/Kvantum/releases. There is also a link to 32 and 64-bit Arch packages, kindly made by Josip (metak), in the Files section of this page.

*** Theme Making ***

For instructions on how to change configuration or make new themes, please read the files Theme-Config and Theme-Making in the doc folder!

*** Notes ***

(1) Each new theme should be accompanied by a KDE color scheme because some KDE apps may use colors specific to KDE. Qt apps use Kvantum colors though.

(2) Kvantum does not provide window decorations. Such jobs are done by the window manager.

(3) For the latest and other releases, please go to the home page! This page may not be up-to-date.
Last changelog:

5 years ago

See ChangeLog inside the source for a more thorough list.

15 Jun 2016
------------
* CPU usage optimization in extreme cases.
* Added two themes to the collection, one of which is translucent by default (KvRoughGlass).
* More QML corrections.

2 Jun 2016
------------
* Dealt with QML peculiarities.
* Added a key for disabling pushbutton contents shift (to Kvantum Manager).
* Added a hacking key for transparent PCManFM-Qt's folder-view (to Kvantum Manager).
* Added KvSimplicityDark to the extra themes.
* Some changes and additions for theme makers.

14 May 2016
------------
* Small changes.
* Made the first GitHub release (thanks to Matthew). A deb package for Debian Testing is also added. If (K)ubuntu and its derivatives need a separate deb package, I will add it here but, for now, they don't.

24 Apr 2016
------------
* Workaround for the Qt5 QMenu window type bug (I waited long enough for a fix. The workaround will be harmless if they fix the bug).
* Don't draw text shadow when it doesn't have enough contrast with text.
* Added a key for always centering doc tabs.
* Modifications to KvSimplicity.
* No need to a separate deb package for (K)ubuntu 16.04 and its derivatives for now.

......

stevepusser

4 years ago

OK...I get this error

Kvantum.cpp:60:49: fatal error: QtPlatformHeaders/QXcbWindowFunctions: No such file or directory

which is due to line 60 in Kvantum.cpp

#include <QtPlatformHeaders/QXcbWindowFunctions>

Report

C

tsujan

4 years ago

Please read my reply above!

Report

stevepusser

4 years ago

Oops, sorry for the double post. (bag over head)

Your commit does fix the compilation on Qt 5.3.

Anyway, I do already have a Qt 4-only Debian Kvantum package in the MX 15 repository, I'll switch out my current tiny qt4 dephelper rules file for the bigger multiarch one that'll do both, and see if that fixes anything on Jessie for qt5. At least people could grab those debianized sources if they want to rebuild it.

Report

stevepusser

4 years ago

Yeah, confirmed that configuring the styles on qt5 5.3 just doesn't work. Also, you don't have to specify dependencies for the finished package in the debian/control file, the ${shlibs:Depends} variable handles all that automatically--I ended up with automatically generated dependencies: libc6 (>= 2.14), libgcc1 (>= 1:4.1.1), libgl1-mesa-glx | libgl1, libqt4-svg (>= 4:4.5.3), libqt5core5a (>= 5.0.2), libqt5gui5 (>= 5.2.0), libqt5svg5 (>= 5.0.2), libqt5widgets5 (>= 5.0.2), libqt5x11extras5 (>= 5.1.0), libqtcore4 (>= 4:4.8.0), libqtgui4 (>= 4:4.8.0), libstdc++6 (>= 4.1.1), libx11-6, libxext6.

Anyway, to also match other similar packages in Debian, I also renamed the package "kde-style-kvantum" in my packaging, and added a patch to make the GUI programs qt4 instead of qt5, since the qt5 versions are broken in Jessie. Just delete the debian/patches folder if your qt5 is new enough to work correctly. Here's my debian folder: https://drive.google.com/open?id=0BxE7wbgixC4GTDZ1Zlo2WTU3Uzg

Report

stevepusser

4 years ago

Quote:BTW, as the .pro files are made for systems with Qt5 as their default Qt (i.e. most systems), Kvantum Manager and the extra themes won't be installed if the default Qt is Qt4. You should either compile them separately from their own folders or edit 'kvantum.pro'.

That's what the patch does to the .pro file during the build, for systems like Jessie that have to use the qt4 ones, because qt 5.3 won't work. The Debian packaging system doesn't let maintainers change original source, except in the form of patches that get applied only for the build. The debian/patches folder can safely be removed for systems with a working qt5.

Report

C

tsujan

4 years ago

BTW, as the .pro files are made for systems with Qt5 as their default Qt (i.e. most systems), Kvantum Manager and the extra themes won't be installed if the default Qt is Qt4. You should either compile them separately from their own folders or edit 'kvantum.pro'.

Report

C

tsujan

4 years ago

> Also, you don't have to specify dependencies for the finished package in the debian/control file

That was intentional: deb packages built against Qt >= 5.5.1 didn't work well in systems with Qt-5.5.0.

Report

stevepusser

4 years ago

OK...I get this error

Kvantum.cpp:60:49: fatal error: QtPlatformHeaders/QXcbWindowFunctions: No such file or directory

which is due to line 60 in Kvantum.cpp

#include <QtPlatformHeaders/QXcbWindowFunctions>

Report

C

tsujan

4 years ago

Oh, now I remember! Thanks for reporting! That's because of a workaround I included in Kvantum for QTBUG-47043. If I remove it for Qt < 5.5, Kvantum should be compiled against Qt-5.3 too. Please test again after I make a commit in GitHub (see the title of the latest commit) and tell me about the result! Thanks in advance!

As for the Debian folder, you're right. But, although I use Debian, I don't like to make an exception for Debian based systems. What about Arch-based systems (I like them very much) or rpm-based system? Should I include build folders/files for them too? I don't think so -- at least, not yet.

Report

stevepusser

4 years ago

Hmmm...let's see if I can find the specific build error with qt 5.

If you provided an arch-independent debian folder, than anyone using Debian or Ubuntu on any architecture could build their own packages, following the rather simple steps for rebuilding from debian source. Then it's up for them to test it. ;)

Report

stevepusser

4 years ago

On testing, I found out that the kvantum 0.9.6 won't build on Qt 5.3, because it needs the qxcbwindowfunctions headers, and 5.3 doesn't have that.

I did find out how to make your rules file arch-independent instead of amd64-only.

First, you can just use "qmake-qt4" as the qt4 qmake, because there's a symlink in /usr/bin to it, so you don't have to call out the whole path.

For the qt 5 qmake, add this line at the start of the rules file:

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

so then the line calling out the qt5 qmake becomes:
cd builddir && /usr/lib/$(DEB_HOST_MULTIARCH)/qt5/bin/qmake PREFIX=/usr ../$(APPNAME).pro

I might try and see how that works in OBS for the Ubuntu versions that have a newer Qt 5.

Report

stevepusser

4 years ago

I did make a separate package for the Qt 5 build on Jessie, but it just didn't work. The Qt 4 version works great, though.

Could you include the debian folder that is used to build your 64-bit Debian test package in the github source? I'd like to compare it with mine.

You also might want to try the free openSUSE build service, as you can just upload your source files and it will build packages for Debian 7, 8 , various Ubuntu releases from 12.04 to 16.04, SUSE, Fedora...much like the SMPlayer developer is using it for his builds and hosting.

Report

C

tsujan

4 years ago

In a sense, yes, it's old but maybe not too old. Doesn't a direct Qt5 compilation work in Jessie? What is the error message?

Anyway, this is the deb folder I use but I don't know whether it'll work in Jessie (because of different versions of many packages): https://dl.dropboxusercontent.com/u/7793460/debian.tar.xz

As for openSUSE build service, I prefer not to build packages that I can't test. My system is Debian Testing and I have a Kubuntu LTS on VirtualBox. I also have Manjaro but with metak's nice packages there's no need to a separate Arch package.

Report

stevepusser

4 years ago

SMPlayer's source files and builds:

https://build.opensuse.org/package/show?project=home%3Asmplayerdev&package=smplayer

Report

samuaz

4 years ago

Hi first thanks for widget style.

Im triying to make this work under kaosx i build using:

qmake
make
make install

but not kvantum under the widget style selection, i try using dolphin -style kvantum
and dont work too, i see there is not a libkvatum.so under qt5/plugins/style folder only in the qt/plugins/style folder so i try:

qmake-qt5
make
make install

but not work too, any ideas?

thanks

Report

C

tsujan

4 years ago

The default Qt is Qt5 in most distros, so the folder PATH/qt/plugins/style/ should belong to Qt5 if it exists and the Qt5 plugin should have been installed correctly in your case.

I don't have KaOS but Manjaro. They seem to have the same versions of Qt5 and KDE (5.5.1-1 and 18.08.2-1, respectively) and yet I don't see any problem here. Does your problem persist after logging out and in? Is your system fully updated?

Report

9

roozbeh2020

4 years ago

Hi
I download .deb package but when I try to install it one error stopped the process.
error: dependency is not satisfiable: libqt5core5a(>= 5.4.0). in the debian 8.1 repositories this package version is 5.3.2 !

Report

C

tsujan

4 years ago

Yes, I know. Qt5-5.3 had some bad bugs which are fixed in Qt5-5.4 but what is compiled against the latter is not completely consistent with the former.

For using the deb package, you need to add the Testing repository to apt and update Qt5 (but not anything else).

As an easier alternative, you could compile it against Qt5-5.3.2 (see INSTALL).

Report

9

roozbeh2020

4 years ago

Hi
I download .deb package but when I try to install it one error stopped the process.
error: dependency is not satisfiable: libqt5core5a(>= 5.4.0). in the debian 8.1 repositories this package version is 5.3.2 !

Report

michtar

5 years ago

I just start understanding the potential of Kvantum..
I only regret that I have never worked on SVG file and seems a bit long to learn ..
Among stuff never seen anywhere else I love the options for text.shadow,the color combination ...

Report

C

tsujan

5 years ago

Thank you!
Kvantum is a complex beast. That is the price I had to pay for maximum flexibility. However, I've written a comprehensive doc for it, which I too consult sometimes ;)

Report

ManganErz

5 years ago

Please, make .rpm package for Fedora/Opensuse users. To compile so much stuff every time just for installing new visual style is really not enjoyable(
P.S. Sorry my English

Report

C

tsujan

5 years ago

I understand but the only kind of package I can and will make is 46-bit deb because I don't have any rpm-based system.
However, I will surely add a link if an rpm maintainer gives me one -- as I have done for the Arch packages. (The maintainer of the Arch packages kindly told me about them through a message.)

Report

ManganErz

5 years ago

I`m sorry for askin this, but I just found a [url=http://ftp.cse.yzu.edu.tw/pub/Linux/openSUSE/repositories/home:/kill_it/openSUSE_13.1/x86_64]repo for OpenSuse[/url] with Kvantum style, and I think, that will be grate to paste link to it Download section.

Report

C

tsujan

5 years ago

There is just one problem: there is no Qt5 compilation among those packages.
Anyhow, I'll search for other links, for both OpenSUSE and Fedora.

Report

5 years ago

See ChangeLog inside the source for a more thorough list.

15 Jun 2016
------------
* CPU usage optimization in extreme cases.
* Added two themes to the collection, one of which is translucent by default (KvRoughGlass).
* More QML corrections.

2 Jun 2016
------------
* Dealt with QML peculiarities.
* Added a key for disabling pushbutton contents shift (to Kvantum Manager).
* Added a hacking key for transparent PCManFM-Qt's folder-view (to Kvantum Manager).
* Added KvSimplicityDark to the extra themes.
* Some changes and additions for theme makers.

14 May 2016
------------
* Small changes.
* Made the first GitHub release (thanks to Matthew). A deb package for Debian Testing is also added. If (K)ubuntu and its derivatives need a separate deb package, I will add it here but, for now, they don't.

24 Apr 2016
------------
* Workaround for the Qt5 QMenu window type bug (I waited long enough for a fix. The workaround will be harmless if they fix the bug).
* Don't draw text shadow when it doesn't have enough contrast with text.
* Added a key for always centering doc tabs.
* Modifications to KvSimplicity.
* No need to a separate deb package for (K)ubuntu 16.04 and its derivatives for now.

......

12345678910
20421
product-maker bunnymnemonic Sep 24 2019 10 the best
10 the best
product-maker sohrob May 13 2019 9 excellent
+I think Kvantum is great. Hats off to the folks who developed this application.
product-maker zayronXIO Apr 19 2019 9 excellent
+
product-maker tomjedusor Apr 12 2019 3 bad
- No remove command and after a week trying remove it, no more help from the creator. Be careful of what you install and how on linux too. This software modify definitively your qt files system
product-maker jrjohnstone Feb 12 2019 9 excellent
Wonderful!
product-maker pewpew Nov 12 2018 9 excellent
+
product-maker abgr Sep 12 2018 9 excellent
+ Just created my first Kvantum theme, and all in all it was a joy, i was able to realize most of what i'd had in mind. Posted a few minor issues/feature requests on github. Thanks for your work!
product-maker Frettchen Jun 01 2018 3 bad
-
product-maker xfcegure Jan 12 2018 3 bad
product-maker Davikar Dec 20 2017 9 excellent
product-maker Puli Dec 04 2017 9 excellent
product-maker 1E1E1E Nov 07 2017 9 excellent
product-maker spider623 Oct 25 2017 9 excellent
product-maker sen7 Sep 23 2017 9 excellent
product-maker caig Jul 08 2017 9 excellent
product-maker aram Dec 29 2016 9 excellent
product-maker tepca Nov 09 2016 3 bad
product-maker dubious Nov 09 2016 3 bad
product-maker Bugworm Nov 07 2016 9 excellent
product-maker izzzy Nov 05 2016 3 bad
product-maker malcomz Nov 05 2016 3 bad
product-maker alibaba2 Nov 05 2016 3 bad
product-maker Nightbane112 Oct 26 2016 9 excellent
product-maker arun94 Aug 13 2016 9 excellent
product-maker dyrvere Aug 09 2016 9 excellent
product-maker x-varlesh-x Jul 28 2016 9 excellent
product-maker fracaburda Jul 28 2016 3 bad
product-maker dfghjk Jul 28 2016 3 bad
product-maker PeterKabin Jul 28 2016 9 excellent
product-maker qtnerd Jul 28 2016 3 bad
product-maker DDZ Apr 27 2016 9 excellent
product-maker svah4cky0 Feb 26 2016 9 excellent
product-maker lexcher Dec 21 2015 9 excellent
product-maker roozbeh2020 Jul 22 2015 9 excellent
product-maker RingOV Jul 21 2015 9 excellent
product-maker schnelle Apr 03 2015 9 excellent
product-maker nhoxsang2411994 Feb 15 2015 9 excellent
product-maker RAIDENSUB Feb 10 2015 9 excellent
product-maker otorongo Jan 25 2015 9 excellent
product-maker pvt14 Jan 02 2015 9 excellent
product-maker azawi Dec 18 2014 9 excellent
product-maker Ghostdmn Nov 20 2014 9 excellent
product-maker mannfree Nov 18 2014 3 bad
product-maker thwald Nov 16 2014 3 bad
product-maker nobrain Nov 14 2014 3 bad
product-maker pjhalsli Nov 14 2014 9 excellent
product-maker olegvbal Oct 14 2014 9 excellent
product-maker Zipristin Aug 17 2014 9 excellent
product-maker SvenArcher Aug 09 2014 9 excellent
product-maker Hombremaledico Aug 08 2014 9 excellent
product-maker VilleVallo Aug 07 2014 3 bad
product-maker mea5 Aug 07 2014 3 bad
product-maker hello98 Aug 07 2014 3 bad
product-maker lieter Aug 07 2014 3 bad
product-maker sfeist Aug 07 2014 3 bad
product-maker UnderTheGun Aug 07 2014 9 excellent
product-maker janet Aug 07 2014 9 excellent
product-maker unikum111 Aug 06 2014 9 excellent
product-maker sixsixfive Aug 04 2014 9 excellent
product-maker dergnome Jul 30 2014 3 bad
product-maker ranmak Jul 28 2014 9 excellent
product-maker eticre Jul 19 2014 9 excellent
product-maker D-- Jul 19 2014 9 excellent
product-maker Base: 4 x 5.0 Ratings
madeiraantonio97
Feb 11 2020
usernamexists
Aug 30 2019
zayronXIO
Apr 19 2019
mystress
Apr 07 2019
jrjohnstone
Feb 12 2019
abgr
Sep 11 2018
Rokin
May 15 2018
DDZ
Apr 27 2016
lexcher
Dec 21 2015
Zipristin
Dec 08 2015
takanowaka
Sep 14 2015
RingOV
Jul 21 2015
michtar
Jul 06 2015
zayronXIO
Apr 19 2019
Rokin
May 15 2018
x-varlesh-x
May 13 2018
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
3 Plings
0 Affiliates
Details
license
version
updated Jul 08 2017
added Jul 19 2014
downloads 24h
21
mediaviews 24h 0
pageviews 24h 169