kquickimageedit: add Qt6 support

This commit is contained in:
K900 2023-11-12 11:18:05 +03:00
parent 5d563af1ec
commit f350f30bf7
2 changed files with 8 additions and 2 deletions

View file

@ -1,10 +1,12 @@
{ lib { lib
, mkDerivation , stdenv
, fetchFromGitLab , fetchFromGitLab
, extra-cmake-modules , extra-cmake-modules
, qtbase
, qtdeclarative
}: }:
mkDerivation rec { stdenv.mkDerivation rec {
pname = "kquickimageeditor"; pname = "kquickimageeditor";
version = "0.3.0"; version = "0.3.0";
@ -17,6 +19,9 @@ mkDerivation rec {
}; };
nativeBuildInputs = [ extra-cmake-modules ]; nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ qtbase qtdeclarative ];
cmakeFlags = ["-DQT_MAJOR_VERSION=${lib.versions.major qtbase.version}"];
dontWrapQtApps = true;
meta = with lib; { meta = with lib; {
description = "Set of QtQuick components providing basic image editing capabilities"; description = "Set of QtQuick components providing basic image editing capabilities";

View file

@ -32,6 +32,7 @@ makeScopeWithSplicing' {
kdsoap = callPackage ../development/libraries/kdsoap { }; kdsoap = callPackage ../development/libraries/kdsoap { };
futuresql = callPackage ../development/libraries/futuresql { }; futuresql = callPackage ../development/libraries/futuresql { };
kquickimageedit = callPackage ../development/libraries/kquickimageedit { };
qca = pkgs.darwin.apple_sdk_11_0.callPackage ../development/libraries/qca { qca = pkgs.darwin.apple_sdk_11_0.callPackage ../development/libraries/qca {
inherit (qt6) qtbase qt5compat; inherit (qt6) qtbase qt5compat;