diff options
Diffstat (limited to 'pkgs/development/libraries/qt-6/default.nix')
-rw-r--r-- | pkgs/development/libraries/qt-6/default.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/development/libraries/qt-6/default.nix b/pkgs/development/libraries/qt-6/default.nix index 7615c4f9043..754436cb0b9 100644 --- a/pkgs/development/libraries/qt-6/default.nix +++ b/pkgs/development/libraries/qt-6/default.nix @@ -49,6 +49,9 @@ let withGtk3 = true; inherit (srcs.qtbase) src version; inherit bison cups harfbuzz libGL dconf gtk3 developerBuild cmake; + patches = [ + ./patches/qtbase-qmake-pkg-config.patch + ]; }; qt3d = callPackage ./modules/qt3d.nix { }; @@ -90,6 +93,14 @@ let wrapQtAppsHook = makeSetupHook { deps = [ buildPackages.makeWrapper ]; } ./hooks/wrap-qt-apps-hook.sh; + + qmake = makeSetupHook { + deps = [ self.qtbase.dev ]; + substitutions = { + inherit debug; + fix_qmake_libtool = ./hooks/fix-qmake-libtool.sh; + }; + } ./hooks/qmake-hook.sh; }; self = lib.makeScope newScope addPackages; |