]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/qt-console/label/label.h
Make qt-console compatible to Qt5 (Qt4 still work)
[bacula/bacula] / bacula / src / qt-console / label / label.h
index 1fa741525603b16b6337d844219c2d0d6b7abe8a..094f6a438cbea28c88a6a36413029396fd3e237b 100644 (file)
 #ifndef _LABEL_H_
 #define _LABEL_H_
 
+#if QT_VERSION >= 0x050000
+#include <QtWidgets>
+#else
 #include <QtGui>
+#endif
 #include "ui_label.h"
 #include "console.h"
 #include "pages.h"