Skip to content
QPlatformTheme for a better Qt application inclusion in GNOME
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Add support for settings portal Dec 5, 2018
.gitignore Initial commit Dec 10, 2015
LICENSE
README.md Update README.md Apr 6, 2018
qgnomeplatform.pro Add support for settings portal Dec 5, 2018

README.md

QGnomePlatform

QGnomePlatform is a Qt Platform Theme designed to use as many of the GNOME settings as possible in unmodified Qt applications. It allows Qt applications to fit into the environment as well as possible.

How to compile

This library uses private Qt headers and will likely not be forward nor backward compatible. This library will have to be recompiled with every Qt update.

mkdir build
cd build
qmake-qt5 ..
make && make install

Usage

This library is used automatically in Gtk based desktops such as Gnome, Cinnamon or Xfce.

This platform theme can also be used by setting the QT_QPA_PLATFORMTHEME environment variable to "gnome". For example, put the following command in .bashrc:

export QT_QPA_PLATFORMTHEME='gnome'
You can’t perform that action at this time.