mirror of
https://github.com/stenzek/duckstation.git
synced 2026-02-12 01:14:33 +00:00
Qt: Silence new warning from VS2026
This commit is contained in:
@@ -5,6 +5,15 @@
|
||||
|
||||
#include "core/pch.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
// Disable C4251 outside of Qt code too, because not all headers are included here.
|
||||
#pragma warning(disable : 4251) // warning C4251: 'QLayoutItem::align': 'QFlags<Qt::AlignmentFlag>' needs to have
|
||||
// dll-interface to be used by clients of 'QLayoutItem'
|
||||
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable : 4864) // warning C4864: expected 'template' keyword before dependent template name
|
||||
#endif
|
||||
|
||||
#include <QtCore/QByteArray>
|
||||
#include <QtCore/QMetaType>
|
||||
#include <QtCore/QObject>
|
||||
@@ -12,3 +21,7 @@
|
||||
#include <QtCore/QString>
|
||||
#include <QtCore/QtCore>
|
||||
#include <QtWidgets/QWidget>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(pop)
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user