]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/qt-console/testprogs/putz/putz.h
Make qt-console compatible to Qt5 (Qt4 still work)
[bacula/bacula] / bacula / src / qt-console / testprogs / putz / putz.h
index 97e6ba88cccb5fccd975e88c61c5035e860438a2..48675bf6e3ae50397274503e6bad3265da8f110c 100644 (file)
@@ -1,7 +1,11 @@
 #ifndef _PUTZ_H_
 #define _PUTZ_H_
 
+#if QT_VERSION >= 0x050000
+#include <QtWidgets>
+#else
 #include <QtGui>
+#endif
 #include "ui_putz.h"
 
 class Putz : public QMainWindow, public Ui::MainWindow