2021-10-16 12:22:24 +00:00
|
|
|
# Qt packages set.
|
|
|
|
#
|
|
|
|
# Attributes in this file are packages requiring Qt and will be made available
|
|
|
|
# for every Qt version. Qt applications are called from `all-packages.nix` via
|
|
|
|
# this file.
|
|
|
|
|
|
|
|
{ lib
|
|
|
|
, pkgs
|
|
|
|
, qt6
|
2023-01-23 22:56:22 +00:00
|
|
|
, stdenv
|
2021-10-16 12:22:24 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
(lib.makeScope pkgs.newScope ( self:
|
|
|
|
|
|
|
|
let
|
|
|
|
libsForQt6 = self;
|
|
|
|
callPackage = self.callPackage;
|
2022-09-17 12:26:56 +00:00
|
|
|
kdeFrameworks = let
|
|
|
|
mkFrameworks = import ../development/libraries/kde-frameworks;
|
|
|
|
attrs = {
|
|
|
|
libsForQt5 = libsForQt6;
|
|
|
|
inherit (pkgs) lib fetchurl;
|
|
|
|
};
|
|
|
|
in (lib.makeOverridable mkFrameworks attrs);
|
2021-10-16 12:22:24 +00:00
|
|
|
in
|
|
|
|
|
|
|
|
(qt6 // {
|
2023-01-23 22:56:22 +00:00
|
|
|
inherit stdenv;
|
|
|
|
|
2022-05-28 08:27:03 +00:00
|
|
|
# LIBRARIES
|
|
|
|
|
2022-09-17 12:26:56 +00:00
|
|
|
inherit (kdeFrameworks) kcoreaddons;
|
|
|
|
|
2023-03-07 21:17:10 +00:00
|
|
|
qt6ct = callPackage ../tools/misc/qt6ct { };
|
|
|
|
|
2023-07-26 17:51:40 +00:00
|
|
|
qt6gtk2 = callPackage ../tools/misc/qt6gtk2 { };
|
|
|
|
|
2023-04-28 07:48:05 +00:00
|
|
|
qtkeychain = callPackage ../development/libraries/qtkeychain {
|
|
|
|
inherit (pkgs.darwin.apple_sdk.frameworks) CoreFoundation Security;
|
|
|
|
};
|
|
|
|
|
2022-11-16 03:42:19 +00:00
|
|
|
qtpbfimageplugin = callPackage ../development/libraries/qtpbfimageplugin { };
|
|
|
|
|
2023-03-27 13:19:36 +00:00
|
|
|
qtstyleplugin-kvantum = callPackage ../development/libraries/qtstyleplugin-kvantum { };
|
|
|
|
|
2022-05-28 08:27:03 +00:00
|
|
|
quazip = callPackage ../development/libraries/quazip { };
|
2022-08-26 18:53:02 +00:00
|
|
|
|
2022-11-04 16:16:02 +00:00
|
|
|
qxlsx = callPackage ../development/libraries/qxlsx { };
|
|
|
|
|
2022-08-26 18:53:02 +00:00
|
|
|
poppler = callPackage ../development/libraries/poppler {
|
|
|
|
lcms = pkgs.lcms2;
|
|
|
|
qt6Support = true;
|
|
|
|
suffix = "qt6";
|
|
|
|
};
|
2021-10-16 12:22:24 +00:00
|
|
|
})))
|