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.
3 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.
......
3 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.
......
openDesktop.org :
armakuni
7 months ago
Report
armakuni
7 months ago
Report
tsujan
7 months ago
That being said, there are some themes included in Kvantum, that can match some gtk themes:
(1) The default Kvantum theme fairly matches E17gtk (https://github.com/tsujan/E17gtk.git);
(2) KvAmbiance matches Ubuntu's Ambiance;
(3) KvArc and KvArcDark match the Arc gtk theme and its dark counterpart (sorry, I have no link to those gtk themes);
(4) Kvantum also includes KvGnome and KvGnoemDark. A year ago, they matched Gnome default theme but since Gnome devs change everything once in a while, I started to developed and change those themes freely. However, they still match Gnome theme to some extent.
Report
tsujan
7 months ago
Report
qtnerd
1 year ago
Report
tsujan
1 year ago
Kvantum doesn't have any issue with qml; it's qml that has issue with complete styling. The problem just can't be seen with simple styles like Breeze.
Anyhow, I won't add a comment/reply here anymore. THIS PAGE IS OUTDATED. Bug reports and feature requests should be posted at the GitHub page.
Report
arun94
1 year ago
Report
sfeist
1 year ago
Report
tsujan
1 year ago
Report
x-varlesh-x
1 year ago
Report
tsujan
1 year ago
Report
stevepusser
1 year ago
Instructions: https://software.opensuse.org/download.html?project=home%3Astevenpusser%3Aqmplay2%3Aqt5-default&package=qt5-default
Use with due caution, and don't use if it looks like it's going to remove something you need. Calibre depends on an exact version of Qt5 that it was build against, so I included that in the repo.
Report
tsujan
1 year ago
Report
stevepusser
1 year ago
It makes me wonder if it's related to the same problem that the qt5-configure ( http://qt-apps.org/content/show.php/Qt5+Configuration+Tool?content=168066 ) tool has: you can build it with the Qt 5.3 in Jessie, but it also has no effect. Seems that Qt 5.4 fixed something fundamental.
I'll try your debian folder--I have no problem with the build-depends having possibly different names. That's what the alternative "|" is for:
Build-Depends: foo-dev | foo1-dev | foo2-dev,
Report
stevepusser
1 year ago
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
tsujan
1 year ago
I don't think Jessie has a DE that recognizes Qt5 style plugins automatically. You should use one of the methods explained in INSTALL.
Thanks for the arch-independent tip! I only build 64-bit packages because I can test them.
Report
stevepusser
1 year ago
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
1 year ago
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
tsujan
1 year ago
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
1 year ago
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
tsujan
1 year ago
Report
stevepusser
1 year ago
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
1 year ago
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
tsujan
1 year ago
That was intentional: deb packages built against Qt >= 5.5.1 didn't work well in systems with Qt-5.5.0.
Report
tsujan
1 year ago
Report