summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/settings.h
diff options
context:
space:
mode:
authorkh1 <karsten.heimrich@digia.com>2012-12-06 15:47:26 +0100
committerKarsten Heimrich <karsten.heimrich@digia.com>2012-12-07 13:15:35 +0100
commit40b40e6274e4db14531461c455c88378d12d85f2 (patch)
tree71b74c31dd349aae200a857050747fdcc7397910 /src/libs/installer/settings.h
parentfd4c75df63d65e5a97ebc71c8247713ace45ffc9 (diff)
Finally IFW compiles with Qt5 (use private headers)
Change-Id: I2604c77418e4a930bd0f76092db581fef1e45817 Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
Diffstat (limited to 'src/libs/installer/settings.h')
-rw-r--r--src/libs/installer/settings.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libs/installer/settings.h b/src/libs/installer/settings.h
index f5a614fed..5eb5c4932 100644
--- a/src/libs/installer/settings.h
+++ b/src/libs/installer/settings.h
@@ -42,7 +42,9 @@
#include <QtNetwork/QNetworkProxy>
-Q_DECLARE_METATYPE(QNetworkProxy)
+#if QT_VERSION < 0x050000
+ Q_DECLARE_METATYPE(QNetworkProxy)
+#endif
namespace QInstaller {
class Repository;