summarylogtreecommitdiffstats
path: root/qt5_fix.diff
diff options
context:
space:
mode:
authorJiri Tyr2020-11-10 23:49:43 +0000
committerJiri Tyr2020-11-11 00:34:18 +0000
commit4ca02b66075c02a65771121c1c7aa9fa505a6a5e (patch)
tree9b98bbd606e0cd7b8fa47933019e327cfe50d4be /qt5_fix.diff
downloadaur-4ca02b66075c02a65771121c1c7aa9fa505a6a5e.tar.gz
Initial commit
Diffstat (limited to 'qt5_fix.diff')
-rw-r--r--qt5_fix.diff50
1 files changed, 50 insertions, 0 deletions
diff --git a/qt5_fix.diff b/qt5_fix.diff
new file mode 100644
index 00000000000..3c34661eed2
--- /dev/null
+++ b/qt5_fix.diff
@@ -0,0 +1,50 @@
+Index: marias.pro
+===================================================================
+--- marias.pro (revision 222)
++++ marias.pro (working copy)
+@@ -1,7 +1,8 @@
+ # -------------------------------------------------
+ # Project created by QtCreator 2009-10-30T19:04:56
+ # -------------------------------------------------
+-QT += xml
++QT += xml core widgets gui
++DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x000000
+ TARGET = openmarias
+ TEMPLATE = app
+ CONFIG += qt \
+Index: src/main.cpp
+===================================================================
+--- src/main.cpp (revision 222)
++++ src/main.cpp (working copy)
+@@ -1,4 +1,4 @@
+-#include <QtGui/QApplication>
++#include <QtWidgets/QApplication>
+ #include <QTranslator>
+ #include <QSettings>
+ #include <QFile>
+Index: src/marias.h
+===================================================================
+--- src/marias.h (revision 222)
++++ src/marias.h (working copy)
+@@ -7,7 +7,7 @@
+ */
+ class Marias;
+
+-#include <QtGui/QMainWindow>
++#include <QtWidgets/QMainWindow>
+ #include <QRect>
+ #include "game.h"
+ #include "settingsdialog.h"
+Index: src/players/minimax/rozdania.h
+===================================================================
+--- src/players/minimax/rozdania.h (revision 222)
++++ src/players/minimax/rozdania.h (working copy)
+@@ -2,7 +2,7 @@
+ #define ROZDANIA_H
+
+ #include <QList>
+-#include <QtConcurrentFilter>
++#include <QtConcurrent/QtConcurrentFilter>
+ #include "../../stav.h"
+ #include "../../profiler.h"
+