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