Blame SOURCES/bacula-bat-build.patch

13b78d
diff -Naur bacula-11.0.0.old/src/qt-console/bat.pro.in bacula-11.0.0/src/qt-console/bat.pro.in
13b78d
--- bacula-11.0.0.old/src/qt-console/bat.pro.in	2021-01-12 12:36:32.639470258 +0100
13b78d
+++ bacula-11.0.0/src/qt-console/bat.pro.in	2021-01-12 12:39:13.647417778 +0100
13b78d
@@ -6,7 +6,7 @@
13b78d
 #
13b78d
 #   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
13b78d
 #
13b78d
-CONFIG += qt debug @QWT@
13b78d
+CONFIG += qt release @QWT@
13b78d
 
13b78d
 greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
13b78d
 
13b78d
@@ -15,7 +15,7 @@
13b78d
 bins.files = bat
13b78d
 confs.path = /$(DESTDIR)@sysconfdir@
13b78d
 confs.commands = ./install_conf_file
13b78d
-help.path = /$(DESTDIR)@docdir@
13b78d
+help.path = /$(DESTDIR)@htmldir@
13b78d
 help.files = help/*.html images/status.png images/mail-message-new.png
13b78d
 
13b78d
 TEMPLATE     = app
13b78d
diff -Naur bacula-11.0.0.old/src/qt-console/main.cpp bacula-11.0.0/src/qt-console/main.cpp
13b78d
--- bacula-11.0.0.old/src/qt-console/main.cpp	2021-01-12 12:36:32.640470277 +0100
13b78d
+++ bacula-11.0.0/src/qt-console/main.cpp	2021-01-12 12:39:13.647417778 +0100
13b78d
@@ -29,11 +29,11 @@
13b78d
 #include <QTranslator>
13b78d
 
13b78d
 /*
13b78d
- * We need Qt version 4.8.4 or later to be able to comple correctly
13b78d
+ * We need Qt version 4.6.2 or later to be able to comple correctly
13b78d
  */
13b78d
-#if QT_VERSION < 0x040804
13b78d
+#if QT_VERSION < 0x040602
13b78d
 #error "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
13b78d
-#error "You need Qt version 4.8.4 or later to build Bat"
13b78d
+#error "You need Qt version 4.6.2 or later to build Bat"
13b78d
 #error "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
13b78d
 #endif
13b78d