]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/qt-console/bat.pro.in
Make qt-console compatible to Qt5 (Qt4 still work)
[bacula/bacula] / bacula / src / qt-console / bat.pro.in
index d1bbdb8629c5db5b1f6f8afe988124be93b08464..9728ecc78aedb6f40eb6d291f1e0c5d010425691 100644 (file)
@@ -8,7 +8,7 @@
 #
 CONFIG += qt debug @QWT@
 
-datarootdir = @datarootdir@
+greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
 
 bins.path = /$(DESTDIR)@sbindir@
 bins.files = bat