diff --git a/pkgs/development/libraries/qt-6/modules/qtvirtualkeyboard.nix b/pkgs/development/libraries/qt-6/modules/qtvirtualkeyboard.nix index 4c9f449f5a19..fe333c4ab623 100644 --- a/pkgs/development/libraries/qt-6/modules/qtvirtualkeyboard.nix +++ b/pkgs/development/libraries/qt-6/modules/qtvirtualkeyboard.nix @@ -5,6 +5,7 @@ qtsvg, hunspell, pkg-config, + fetchpatch, }: qtModule { @@ -16,4 +17,12 @@ qtModule { hunspell ]; nativeBuildInputs = [ pkg-config ]; + patches = [ + # https://qt-project.atlassian.net/browse/QTBUG-137440 + (fetchpatch { + name = "rb-link-core-into-styles.patch"; + url = "https://github.com/qt/qtvirtualkeyboard/commit/0b1e8be8dd874e1fbacd0c30ed5be7342f6cd44d.patch"; + hash = "sha256-Uk6EJOlkCRLUg1w3ljHaxV/dXEVWyUpP/ijoyjptbNc="; + }) + ]; }