diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2011-11-07 14:44:39 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-11-08 13:49:28 +0100 |
commit | b3f6633fb006f9f966e001e68ff0363e3862ddf6 (patch) | |
tree | 6a5c0e851469095dcb945e0bc7e889f1e1873486 /src/qtquick1/qtquick1.pro | |
parent | 769d8ca7167cb108d82d3afbbd1cdfec23716375 (diff) |
Declarative: Add define _CRT_SECURE_NO_WARNINGS for MSVC.
Silence warnings about usage of strcmp(), etc.
Using wrapper is not an option here for performance reasons.
Change-Id: Ia444a637080c910b8a9a888f422e65c812ba546c
Reviewed-by: Chris Adams <christopher.adams@nokia.com>
Reviewed-by: Glenn Watson <glenn.watson@nokia.com>
Diffstat (limited to 'src/qtquick1/qtquick1.pro')
-rw-r--r-- | src/qtquick1/qtquick1.pro | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qtquick1/qtquick1.pro b/src/qtquick1/qtquick1.pro index 65010fecb8..e06914f5ee 100644 --- a/src/qtquick1/qtquick1.pro +++ b/src/qtquick1/qtquick1.pro @@ -18,6 +18,8 @@ feature.path = $$[QT_INSTALL_DATA]/mkspecs/features feature.files = $$PWD/features/qtquick1.prf INSTALLS += feature +win32-msvc*:DEFINES *= _CRT_SECURE_NO_WARNINGS + symbian { DEFINES += QT_MAKEDLL CONFIG += epocallowdlldata |