]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/qt-console/restore/restore.h
Make qt-console compatible to Qt5 (Qt4 still work)
[bacula/bacula] / bacula / src / qt-console / restore / restore.h
index 7ece0af40059afa1db1cc113f4a4ee5ecd493961..542c953a70da6f94ee3d22b8977911319f78cf7d 100644 (file)
 
 #include <stdint.h>
 #include <sys/types.h>     /* Needed for some systems */
+#if QT_VERSION >= 0x050000
+#include <QtWidgets>
+#else
 #include <QtGui>
+#endif
 #include "pages.h"
 #include "ui_runrestore.h"