From e75f3014918167b72ca1dfba446e923da80e8f0a Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Fri, 21 Feb 2014 10:26:07 +0100 Subject: [PATCH] windeployqt: Enable module enumeration type for all MSVC. The feature is present in MSVC 2008 onwards. Fixes warnings when compiling with 32bit: main.cpp(97) : warning C4341: 'QtWebKitWidgetsModule' : signed value is out of range for enum constant Change-Id: I955c5c9f1ed6f1e94c95294e191cc36c5b668391 Reviewed-by: Oliver Wolff Reviewed-by: Joerg Bornemann --- src/windeployqt/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/windeployqt/main.cpp b/src/windeployqt/main.cpp index f157368..c71822c 100644 --- a/src/windeployqt/main.cpp +++ b/src/windeployqt/main.cpp @@ -57,7 +57,7 @@ QT_BEGIN_NAMESPACE enum QtModule -#ifdef Q_COMPILER_CLASS_ENUM +#if defined(Q_COMPILER_CLASS_ENUM) || defined(Q_CC_MSVC) : quint64 #endif { -- 2.7.4