mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
qt6.qtmultimedia: fix mingw support
This commit is contained in:
parent
3aee40c139
commit
a83bb5b50a
@ -37,7 +37,9 @@ qtModule {
|
||||
++ lib.optionals stdenv.hostPlatform.isLinux [ gstreamer gst-plugins-base gst-plugins-good gst-libav gst-vaapi ]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [ VideoToolbox ];
|
||||
|
||||
patches = lib.optionals stdenv.hostPlatform.isMinGW [
|
||||
patches = [
|
||||
../patches/fix-qtgui-include-incorrect-case.patch
|
||||
] ++ lib.optionals stdenv.hostPlatform.isMinGW [
|
||||
../patches/qtmultimedia-windows-no-uppercase-libs.patch
|
||||
../patches/qtmultimedia-windows-resolve-function-name.patch
|
||||
];
|
||||
|
@ -0,0 +1,13 @@
|
||||
diff --git a/src/plugins/multimedia/ffmpeg/qffmpegscreencapture_dxgi.cpp b/src/plugins/multimedia/ffmpeg/qffmpegscreencapture_dxgi.cpp
|
||||
index affa52d..b71b461 100644
|
||||
--- a/src/plugins/multimedia/ffmpeg/qffmpegscreencapture_dxgi.cpp
|
||||
+++ b/src/plugins/multimedia/ffmpeg/qffmpegscreencapture_dxgi.cpp
|
||||
@@ -7,7 +7,7 @@
|
||||
#include <private/qabstractvideobuffer_p.h>
|
||||
#include <private/qmultimediautils_p.h>
|
||||
#include <private/qwindowsmultimediautils_p.h>
|
||||
-#include <qtgui/qscreen_platform.h>
|
||||
+#include <QtGui/qscreen_platform.h>
|
||||
#include "qvideoframe.h"
|
||||
|
||||
#include <qloggingcategory.h>
|
Loading…
Reference in New Issue
Block a user