2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-11 13:07:42 +00:00

Fix compiling against Qt6

This commit is contained in:
2021-02-21 17:56:16 -08:00
parent e1515252f1
commit e0da690d7c
2 changed files with 12 additions and 6 deletions

View File

@@ -1,8 +1,11 @@
#include <QtGlobal>
#if defined(_WIN32) && !defined(_DLL)
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
// Static linking on Windows
#include <QtPlugin>
Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin);
#endif
#endif
#include <QApplication>
#include <QStyleFactory>