Skip to content

Qt

Qt

qt.enable

Whether to enable Qt configuration, including theming.

Enabling this option is necessary for Qt plugins to work in the installed profiles (e.g.: nix-env -i or environment.systemPackages).

Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/config/qt.nix

qt.platformTheme

Selects the platform theme to use for Qt applications.

The options are - gnome: Use GNOME theme with qgnomeplatform - gtk2: Use GTK theme with qtstyleplugins - kde: Use Qt settings from Plasma. - lxqt: Use LXQt style set using the lxqt-config-appearance application. - qt5ct: Use Qt style set using the qt5ct and qt6ct applications.

Type: null or one of "gnome", "gtk2", "kde", "lxqt", "qt5ct"

Default

null

Example

"gnome"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/config/qt.nix

qt.style

Selects the style to use for Qt applications.

The options are - adwaita, adwaita-dark, adwaita-highcontrast, adawaita-highcontrastinverse: Use Adwaita Qt style with adwaita - breeze: Use the Breeze style from breeze - bb10bright, bb10dark, cleanlooks, gtk2, motif, plastique: Use styles from qtstyleplugins - kvantum: Use styles from kvantum

Type: null or one of "adwaita", "adwaita-dark", "adwaita-highcontrast", "adwaita-highcontrastinverse", "bb10bright", "bb10dark", "breeze", "cde", "cleanlooks", "gtk2", "kvantum", "motif", "plastique"

Default

null

Example

"adwaita"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/config/qt.nix