4 # Attributes in this file are packages requiring Qt and will be made available
5 # for every Qt version. Qt applications are called from `all-packages.nix` via
11 , makeScopeWithSplicing'
12 , generateSplicesForMkScope
17 pkgs = __splicedPackages;
18 # qt5 set should not be pre-spliced to prevent spliced packages being a part of an unspliced set
19 # 'pkgsCross.aarch64-multiplatform.pkgsBuildTarget.targetPackages.libsForQt5.qtbase' should not have a `__spliced` but if qt5 is pre-spliced then it will have one.
20 # pkgsHostTarget == pkgs
21 qt5 = pkgsHostTarget.qt5;
24 makeScopeWithSplicing' {
25 otherSplices = generateSplicesForMkScope "libsForQt5";
28 callPackage = self.callPackage;
31 mkFrameworks = import ../development/libraries/kde-frameworks;
34 inherit (pkgs) lib fetchurl;
36 in (lib.makeOverridable mkFrameworks attrs);
39 mkPlasma5 = import ../desktops/plasma-5;
42 inherit (pkgs) config lib fetchurl;
43 gconf = pkgs.gnome2.GConf;
44 inherit (pkgs) gsettings-desktop-schemas;
46 in (lib.makeOverridable mkPlasma5 attrs);
49 mkGear = import ../applications/kde;
52 inherit (pkgs) lib fetchurl;
54 in (lib.makeOverridable mkGear attrs);
56 plasmaMobileGear = let
57 mkPlamoGear = import ../applications/plasma-mobile;
60 inherit (pkgs) lib fetchurl;
62 in (lib.makeOverridable mkPlamoGear attrs);
65 mkMaui = import ../applications/maui;
68 inherit (pkgs) lib fetchurl;
70 in (lib.makeOverridable mkMaui attrs);
72 noExtraAttrs = set: lib.attrsets.removeAttrs set [ "extend" "override" "overrideScope" "overrideScope'" "overrideDerivation" ];
74 in (noExtraAttrs (kdeFrameworks // plasmaMobileGear // plasma5 // plasma5.thirdParty // kdeGear // mauiPackages // qt5 // {
76 inherit kdeFrameworks plasmaMobileGear plasma5 kdeGear mauiPackages qt5;
78 # Alias for backwards compatibility. Added 2021-05-07.
79 kdeApplications = kdeGear;
83 accounts-qt = callPackage ../development/libraries/accounts-qt { };
85 alkimia = callPackage ../development/libraries/alkimia { };
87 applet-window-appmenu = callPackage ../development/libraries/applet-window-appmenu { };
89 applet-window-buttons = callPackage ../development/libraries/applet-window-buttons { };
91 appstream-qt = callPackage ../development/libraries/appstream/qt.nix { };
93 dxflib = callPackage ../development/libraries/dxflib {};
95 drumstick = callPackage ../development/libraries/drumstick { };
97 fcitx5-qt = callPackage ../tools/inputmethods/fcitx5/fcitx5-qt.nix { };
99 qgpgme = callPackage ../development/libraries/gpgme { };
101 grantlee = callPackage ../development/libraries/grantlee/5 { };
103 qtcurve = callPackage ../data/themes/qtcurve {};
105 herqq = callPackage ../development/libraries/herqq { };
107 kdb = callPackage ../development/libraries/kdb { };
109 kde2-decoration = callPackage ../data/themes/kde2 { };
111 kcolorpicker = callPackage ../development/libraries/kcolorpicker { };
113 kdiagram = callPackage ../development/libraries/kdiagram { };
115 kdsoap = callPackage ../development/libraries/kdsoap { };
117 kf5gpgmepp = callPackage ../development/libraries/kf5gpgmepp { };
119 kirigami-addons = libsForQt5.callPackage ../development/libraries/kirigami-addons { };
121 kimageannotator = callPackage ../development/libraries/kimageannotator { };
123 kproperty = callPackage ../development/libraries/kproperty { };
125 kpeoplevcard = callPackage ../development/libraries/kpeoplevcard { };
127 kreport = callPackage ../development/libraries/kreport { };
129 kquickimageedit = callPackage ../development/libraries/kquickimageedit { };
131 kuserfeedback = callPackage ../development/libraries/kuserfeedback { };
133 kweathercore = libsForQt5.callPackage ../development/libraries/kweathercore { };
135 ldutils = callPackage ../development/libraries/ldutils { };
137 libcommuni = callPackage ../development/libraries/libcommuni { };
139 libdbusmenu = callPackage ../development/libraries/libdbusmenu-qt/qt-5.5.nix { };
141 liblastfm = callPackage ../development/libraries/liblastfm { };
143 libopenshot = callPackage ../applications/video/openshot-qt/libopenshot.nix {
144 stdenv = if pkgs.stdenv.isDarwin then pkgs.overrideSDK pkgs.stdenv "11.0" else pkgs.stdenv;
147 packagekit-qt = callPackage ../tools/package-management/packagekit/qt.nix { };
149 libopenshot-audio = callPackage ../applications/video/openshot-qt/libopenshot-audio.nix {
150 inherit (pkgs.darwin.apple_sdk.frameworks) Accelerate AGL Cocoa Foundation;
153 libqglviewer = callPackage ../development/libraries/libqglviewer {
154 inherit (pkgs.darwin.apple_sdk.frameworks) AGL;
157 libqofono = callPackage ../development/libraries/libqofono { };
159 libqtav = callPackage ../development/libraries/libqtav { };
161 libqaccessibilityclient = callPackage ../development/libraries/libqaccessibilityclient { };
163 kpmcore = callPackage ../development/libraries/kpmcore { };
165 mapbox-gl-native = libsForQt5.callPackage ../development/libraries/mapbox-gl-native { };
167 mapbox-gl-qml = libsForQt5.callPackage ../development/libraries/mapbox-gl-qml { };
169 maplibre-gl-native = callPackage ../development/libraries/maplibre-gl-native { };
171 maui-core = libsForQt5.callPackage ../development/libraries/maui-core { };
173 mlt = pkgs.mlt.override {
177 phonon = callPackage ../development/libraries/phonon { };
179 phonon-backend-gstreamer = callPackage ../development/libraries/phonon/backends/gstreamer.nix { };
181 phonon-backend-vlc = callPackage ../development/libraries/phonon/backends/vlc.nix { };
183 plasma-wayland-protocols = callPackage ../development/libraries/plasma-wayland-protocols { };
185 polkit-qt = callPackage ../development/libraries/polkit-qt-1 { };
187 poppler = callPackage ../development/libraries/poppler {
193 pulseaudio-qt = callPackage ../development/libraries/pulseaudio-qt { };
195 qca-qt5 = callPackage ../development/libraries/qca-qt5 {
196 stdenv = if pkgs.stdenv.isDarwin then pkgs.overrideSDK pkgs.stdenv "11.0" else pkgs.stdenv;
197 inherit (libsForQt5) qtbase;
200 qcoro = callPackage ../development/libraries/qcoro { };
202 qcsxcad = callPackage ../development/libraries/science/electronics/qcsxcad { };
204 qjson = callPackage ../development/libraries/qjson { };
206 qmltermwidget = callPackage ../development/libraries/qmltermwidget {
207 inherit (pkgs.darwin.apple_sdk.libs) utmp;
210 qmlbox2d = callPackage ../development/libraries/qmlbox2d { };
212 qoauth = callPackage ../development/libraries/qoauth { };
214 qt5ct = callPackage ../tools/misc/qt5ct { };
216 qtdbusextended = callPackage ../development/libraries/qtdbusextended { };
218 qtfeedback = callPackage ../development/libraries/qtfeedback { };
220 qtforkawesome = callPackage ../development/libraries/qtforkawesome { };
222 qtutilities = callPackage ../development/libraries/qtutilities { };
224 qtinstaller = callPackage ../development/libraries/qtinstaller { };
226 qtkeychain = callPackage ../development/libraries/qtkeychain {
227 stdenv = if pkgs.stdenv.isDarwin then pkgs.overrideSDK pkgs.stdenv "11.0" else pkgs.stdenv;
228 inherit (pkgs.darwin.apple_sdk.frameworks) CoreFoundation Security;
231 qtmpris = callPackage ../development/libraries/qtmpris { };
233 qtpbfimageplugin = callPackage ../development/libraries/qtpbfimageplugin { };
235 qtstyleplugins = callPackage ../development/libraries/qtstyleplugins { };
237 qtstyleplugin-kvantum = callPackage ../development/libraries/qtstyleplugin-kvantum { };
239 quazip = callPackage ../development/libraries/quazip { };
241 qscintilla = callPackage ../development/libraries/qscintilla { };
243 qwt = callPackage ../development/libraries/qwt/default.nix { };
245 qwt6_1 = callPackage ../development/libraries/qwt/6_1.nix { };
247 qxlsx = callPackage ../development/libraries/qxlsx { };
249 soqt = callPackage ../development/libraries/soqt { };
251 telepathy = callPackage ../development/libraries/telepathy/qt { };
253 qtwebkit-plugins = callPackage ../development/libraries/qtwebkit-plugins { };
255 # Not a library, but we do want it to be built for every qt version there
256 # is, to allow users to choose the right build if needed.
257 sddm = callPackage ../applications/display-managers/sddm { };
259 signond = callPackage ../development/libraries/signond {};
261 soundkonverter = callPackage ../applications/audio/soundkonverter {};
263 xp-pen-deco-01-v2-driver = callPackage ../os-specific/linux/xp-pen-drivers/deco-01-v2 { };
265 xp-pen-g430-driver = callPackage ../os-specific/linux/xp-pen-drivers/g430 { };
267 yuview = callPackage ../applications/video/yuview { };
268 }) // lib.optionalAttrs pkgs.config.allowAliases {
269 # remove after 23.11 branch-off and backport removal to 23.11
270 # 23.11 will have a warning for this in `makeScope` itself
271 overrideScope' = lib.warn "libsForQt5 now uses makeScopeWithSplicing which does not have \"overrideScope'\", use \"overrideScope\"." self.overrideScope;