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