File gambas3-3.10.0-disable-qt4.patch of Package gambas3

diff -ruN gambas3-3.10.0.orig/main/lib/gui/main.c gambas3-3.10.0/main/lib/gui/main.c
--- gambas3-3.10.0.orig/main/lib/gui/main.c	2017-07-17 23:43:34.000000000 +0300
+++ gambas3-3.10.0/main/lib/gui/main.c	2017-12-10 05:05:02.025049243 +0300
@@ -36,7 +36,7 @@
   NULL
 };
 
-char *GB_INCLUDE EXPORT = "gb.qt4";
+char *GB_INCLUDE EXPORT = "gb.qt5";
 
 int EXPORT GB_INIT(void)
 {
diff -ruN gambas3-3.10.0.orig/main/lib/gui.opengl/main.c gambas3-3.10.0/main/lib/gui.opengl/main.c
--- gambas3-3.10.0.orig/main/lib/gui.opengl/main.c	2017-07-17 23:43:34.000000000 +0300
+++ gambas3-3.10.0/main/lib/gui.opengl/main.c	2017-12-10 05:04:21.520900278 +0300
@@ -32,7 +32,7 @@
   NULL
 };
 
-char *GB_INCLUDE EXPORT = "gb.qt4.opengl";
+char *GB_INCLUDE EXPORT = "gb.qt5.opengl";
 
 int EXPORT GB_INIT(void)
 {
diff -ruN gambas3-3.10.0.orig/main/lib/gui.qt/main.c gambas3-3.10.0/main/lib/gui.qt/main.c
--- gambas3-3.10.0.orig/main/lib/gui.qt/main.c	2017-07-17 23:43:34.000000000 +0300
+++ gambas3-3.10.0/main/lib/gui.qt/main.c	2017-12-10 05:03:41.820753226 +0300
@@ -36,7 +36,7 @@
   NULL
 };
 
-char *GB_INCLUDE EXPORT = "gb.qt4";
+char *GB_INCLUDE EXPORT = "gb.qt5";
 
 int EXPORT GB_INIT(void)
 {
@@ -58,7 +58,7 @@
 	
 	if (use == USE_NOTHING)
 	{
-		use = USE_GB_QT4;
+		use = USE_GB_QT5;
 		
 		env = getenv("KDE_FULL_SESSION");
 		
diff -ruN gambas3-3.10.0.orig/main/lib/gui.qt.webkit/main.c gambas3-3.10.0/main/lib/gui.qt.webkit/main.c
--- gambas3-3.10.0.orig/main/lib/gui.qt.webkit/main.c	2017-07-17 23:43:34.000000000 +0300
+++ gambas3-3.10.0/main/lib/gui.qt.webkit/main.c	2017-12-10 05:01:59.960370918 +0300
@@ -32,7 +32,7 @@
   NULL
 };
 
-char *GB_INCLUDE EXPORT = "gb.qt4.webkit";
+char *GB_INCLUDE EXPORT = "gb.qt5.webkit";
 
 int EXPORT GB_INIT(void)
 {
openSUSE Build Service is sponsored by