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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user