mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-21 16:27:39 -06:00
QT4 compatibility.
This commit is contained in:
parent
28f45ea9f9
commit
7fd90ac10f
@ -15,6 +15,8 @@
|
||||
#include <Python.h>
|
||||
|
||||
// QT headers
|
||||
#include <QDebug>
|
||||
#include <QDir>
|
||||
#include <QMessageBox>
|
||||
|
||||
// App headers
|
||||
|
@ -21,6 +21,7 @@
|
||||
#include <QtWidgets>
|
||||
#else
|
||||
#include <QApplication>
|
||||
#include <QDebug>
|
||||
#endif
|
||||
|
||||
// App headers
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user