summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Jan Beich2023-05-08 20:44:50 +0000
committerGravatar Jan Beich2023-05-08 20:47:16 +0000
commita4362765a606564b36d8aa9ebef38440f14aa465 (patch)
treea221a81d8b7c65e4e6c47558122358d288ae32ea /src
parentMerge pull request #10075 from Kelebek1/silence_nifm_spam (diff)
downloadyuzu-a4362765a606564b36d8aa9ebef38440f14aa465.tar.gz
yuzu-a4362765a606564b36d8aa9ebef38440f14aa465.tar.xz
yuzu-a4362765a606564b36d8aa9ebef38440f14aa465.zip
qt_common: consistently ifdef QPlatform after cbd79df23375
src/yuzu/qt_common.cpp:45:33: error: member access into incomplete type 'QPlatformNativeInterface' wsi.display_connection = pni->nativeResourceForWindow("display", window); ^ /usr/include/qt6/QtGui/qguiapplication.h:20:7: note: forward declaration of 'QPlatformNativeInterface' class QPlatformNativeInterface; ^ src/yuzu/qt_common.cpp:47:42: error: member access into incomplete type 'QPlatformNativeInterface' wsi.render_surface = window ? pni->nativeResourceForWindow("surface", window) : nullptr; ^ /usr/include/qt6/QtGui/qguiapplication.h:20:7: note: forward declaration of 'QPlatformNativeInterface' class QPlatformNativeInterface; ^
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/qt_common.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/qt_common.cpp b/src/yuzu/qt_common.cpp
index 5ac9fe310..5d0fd7674 100644
--- a/src/yuzu/qt_common.cpp
+++ b/src/yuzu/qt_common.cpp
@@ -8,7 +8,7 @@
8#include "core/frontend/emu_window.h" 8#include "core/frontend/emu_window.h"
9#include "yuzu/qt_common.h" 9#include "yuzu/qt_common.h"
10 10
11#ifdef __linux__ 11#if !defined(WIN32) && !defined(__APPLE__)
12#include <qpa/qplatformnativeinterface.h> 12#include <qpa/qplatformnativeinterface.h>
13#endif 13#endif
14 14