summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2017-04-01 21:58:17 -0700
committerAlex Blasche <alexander.blasche@qt.io>2017-04-12 06:33:36 +0000
commit9aa7d2849d3e89f855c46296a6d4c27cfae8c8b8 (patch)
tree4d1480b219b01f5779289119f4494577ff4ba48c
parent8fc081ca4af31d53888c9185334eb357520828c4 (diff)
downloadqtlocation-9aa7d2849d3e89f855c46296a6d4c27cfae8c8b8.tar.gz
Mark qtlocation as warning-free
This will turn -Werror on for our tested compilers, to avoid introducing new warnings. Change-Id: I27b55fdf514247549455fffd14b17ae6dce9976f Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
-rw-r--r--.qmake.conf1
-rw-r--r--src/location/location.pro3
2 files changed, 4 insertions, 0 deletions
diff --git a/.qmake.conf b/.qmake.conf
index b1c22d3b..acdace13 100644
--- a/.qmake.conf
+++ b/.qmake.conf
@@ -1,3 +1,4 @@
load(qt_build_config)
+CONFIG += warning_clean
MODULE_VERSION = 5.9.0
diff --git a/src/location/location.pro b/src/location/location.pro
index b43d626a..5dc89a63 100644
--- a/src/location/location.pro
+++ b/src/location/location.pro
@@ -7,6 +7,9 @@ android {
CONFIG += simd optimize_full
+# 3rdparty headers produce warnings with MSVC
+msvc: CONFIG -= warning_clean
+
INCLUDEPATH += ../3rdparty/poly2tri
INCLUDEPATH += ../3rdparty/clipper
INCLUDEPATH += ../3rdparty/clip2tri