From 2ad4e718c36082d8636347ec825926a0ef5112c1 Mon Sep 17 00:00:00 2001 From: Ben Siraphob Date: Fri, 14 Nov 2025 18:21:04 -0500 Subject: [PATCH] vpkedit: fix QQuaternion incomplete type error Add missing QQuaternion header include to fix compilation error with Qt 6.10.0. The error occurred because QQuaternion was used as a field type without including the necessary header. --- pkgs/by-name/vp/vpkedit/package.nix | 1 + .../vp/vpkedit/patches/fix-qquaternion-include.patch | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 pkgs/by-name/vp/vpkedit/patches/fix-qquaternion-include.patch diff --git a/pkgs/by-name/vp/vpkedit/package.nix b/pkgs/by-name/vp/vpkedit/package.nix index 74caa9220c66..aaa666d0144e 100644 --- a/pkgs/by-name/vp/vpkedit/package.nix +++ b/pkgs/by-name/vp/vpkedit/package.nix @@ -114,6 +114,7 @@ stdenv.mkDerivation (finalAttrs: { ./patches/fix-config-and-i18n-paths.patch ./patches/fix-installer-cmake.patch ./patches/fix-miniz-cmake-dirs.patch + ./patches/fix-qquaternion-include.patch ]; postInstall = '' diff --git a/pkgs/by-name/vp/vpkedit/patches/fix-qquaternion-include.patch b/pkgs/by-name/vp/vpkedit/patches/fix-qquaternion-include.patch new file mode 100644 index 000000000000..f62707e7b24e --- /dev/null +++ b/pkgs/by-name/vp/vpkedit/patches/fix-qquaternion-include.patch @@ -0,0 +1,10 @@ +--- a/src/gui/previews/MDLPreview.h ++++ b/src/gui/previews/MDLPreview.h +@@ -1,6 +1,7 @@ + #pragma once + + #include ++#include + + #include "../FileViewer.h" +