QT4 compatibility.

This commit is contained in:
Dave Page 2013-06-21 23:32:32 +01:00
parent 28f45ea9f9
commit 7fd90ac10f
3 changed files with 7 additions and 0 deletions

View File

@ -15,6 +15,8 @@
#include <Python.h> #include <Python.h>
// QT headers // QT headers
#include <QDebug>
#include <QDir>
#include <QMessageBox> #include <QMessageBox>
// App headers // App headers

View File

@ -21,6 +21,7 @@
#include <QtWidgets> #include <QtWidgets>
#else #else
#include <QApplication> #include <QApplication>
#include <QDebug>
#endif #endif
// App headers // App headers

View File

@ -12,6 +12,10 @@
#ifndef PGADMIN4_H #ifndef PGADMIN4_H
#define PGADMIN4_H #define PGADMIN4_H
// Include the Python header here as it needs to appear before any QT
// headers anywhere in the app.
#include <Python.h>
// QT headers // QT headers
#include <QtGlobal> #include <QtGlobal>