qt6.full: add

This commit is contained in:
Jörg Thalheim 2022-07-16 15:30:49 +02:00
parent 4aca31fd40
commit ee1b9e6f7b
3 changed files with 50 additions and 0 deletions

View file

@ -19,6 +19,7 @@
, gst-plugins-base
, gtk3
, dconf
, libglvnd
, buildPackages
# options
@ -50,6 +51,34 @@ let
inherit (srcs.qtbase) src version;
inherit bison cups harfbuzz libGL dconf gtk3 developerBuild cmake;
};
env = callPackage ./qt-env.nix {};
full = env "qt-full-${qtbase.version}" ([
qt3d
qt5compat
qtcharts
qtconnectivity
qtdeclarative
qtdoc
qtimageformats
qtlottie
qtmultimedia
qtnetworkauth
qtpositioning
qtsensors
qtserialbus
qtserialport
qtshadertools
qtquick3d
qtsvg
qtscxml
qttools
qttranslations
qtvirtualkeyboard
qtwebchannel
qtwebengine
qtwebsockets
qtwebview
] ++ lib.optionals (!stdenv.isDarwin) [ qtwayland libglvnd ]);
qt3d = callPackage ./modules/qt3d.nix { };
qt5compat = callPackage ./modules/qt5compat.nix { };

View file

@ -0,0 +1,20 @@
{ buildEnv, qtbase }: name: paths:
buildEnv {
inherit name;
paths = [ qtbase ] ++ paths;
pathsToLink = [ "/bin" "/mkspecs" "/include" "/lib" "/share" "/libexec" ];
extraOutputsToInstall = [ "out" "dev" ];
postBuild = ''
rm "$out/bin/qmake"
cp "${qtbase.dev}/bin/qmake" "$out/bin"
cat >"$out/bin/qt.conf" <<EOF
[Paths]
Prefix = $out
Plugins = ${qtbase.qtPluginPrefix}
Qml2Imports = ${qtbase.qtQmlPrefix}
EOF
'';
}

View file

@ -20660,6 +20660,7 @@ with pkgs;
inherit bison cups dconf harfbuzz libGL perl gtk3 ninja;
inherit (gst_all_1) gstreamer gst-plugins-base;
inherit buildPackages;
inherit libglvnd;
cmake = cmake.overrideAttrs (attrs: {
patches = attrs.patches ++ [
../development/libraries/qt-6/cmake.patch