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>
|
#include <Python.h>
|
||||||
|
|
||||||
// QT headers
|
// QT headers
|
||||||
|
#include <QDebug>
|
||||||
|
#include <QDir>
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
|
|
||||||
// App headers
|
// App headers
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
#include <QtWidgets>
|
#include <QtWidgets>
|
||||||
#else
|
#else
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
|
#include <QDebug>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// App headers
|
// App headers
|
||||||
|
@ -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>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user