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.
This commit is contained in:
Ben Siraphob
2025-11-14 18:21:04 -05:00
parent 5eecbe3b20
commit 2ad4e718c3
2 changed files with 11 additions and 0 deletions
+1
View File
@@ -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 = ''
@@ -0,0 +1,10 @@
--- a/src/gui/previews/MDLPreview.h
+++ b/src/gui/previews/MDLPreview.h
@@ -1,6 +1,7 @@
#pragma once
#include <QOpenGLWidget>
+#include <QQuaternion>
#include "../FileViewer.h"