support qt4 and qt5; refs #40
This commit is contained in:
@@ -13,8 +13,13 @@
|
|||||||
#include <proxyface/proxyauth.hxx>
|
#include <proxyface/proxyauth.hxx>
|
||||||
|
|
||||||
#include <QtGui/QMovie>
|
#include <QtGui/QMovie>
|
||||||
|
#if QT_VERSION >= 0x050000
|
||||||
|
#include <QtWidgets/QDialog>
|
||||||
|
#include <QtWidgets/QPushButton>
|
||||||
|
#else
|
||||||
#include <QtGui/QDialog>
|
#include <QtGui/QDialog>
|
||||||
#include <QtGui/QPushButton>
|
#include <QtGui/QPushButton>
|
||||||
|
#endif
|
||||||
#include <QtNetwork/QNetworkProxy>
|
#include <QtNetwork/QNetworkProxy>
|
||||||
#include <QtNetwork/QAuthenticator>
|
#include <QtNetwork/QAuthenticator>
|
||||||
#include <QtCore/QUrl>
|
#include <QtCore/QUrl>
|
||||||
|
|||||||
@@ -10,10 +10,8 @@
|
|||||||
|
|
||||||
#include <proxyface/ui_proxyauth.hxx>
|
#include <proxyface/ui_proxyauth.hxx>
|
||||||
#if QT_VERSION >= 0x050000
|
#if QT_VERSION >= 0x050000
|
||||||
#warning Qt 5
|
|
||||||
#include <QtWidgets/QDialog>
|
#include <QtWidgets/QDialog>
|
||||||
#else
|
#else
|
||||||
#warning Qt 4
|
|
||||||
#include <QtGui/QDialog>
|
#include <QtGui/QDialog>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user