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>
// QT headers
#include <QDebug>
#include <QDir>
#include <QMessageBox>
// App headers

View File

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

View File

@ -12,6 +12,10 @@
#ifndef 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
#include <QtGlobal>