Mingw32 compatibility fixes

This commit is contained in:
Dave Page 2017-04-03 12:58:08 +01:00
parent bb0bd8acc5
commit e7cee870a7
2 changed files with 4 additions and 0 deletions

View File

@ -16,6 +16,7 @@
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#include <QNetworkProxyFactory>
#include <QNetworkRequest>
#include <QNetworkReply>
#else

View File

@ -14,6 +14,9 @@
// Include the Python header here as it needs to appear before any QT
// headers anywhere in the app.
#ifdef __MINGW32__
#include <cmath>
#endif
#include <Python.h>
// QT headers