Commit 2ad4e718 authored by Ben Siraphob's avatar Ben Siraphob
Browse files

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.
parent 5eecbe3b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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 = ''
+10 −0
Original line number Diff line number Diff line
--- 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"