build-system: iOS only turn off specific warnings

Turning off all warnings (-w) was too radical.

Only turning off specific warnings.

Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
jan Iversen 2018-05-21 08:12:40 +02:00 committed by Dirk Hohndel
parent d7e31ebbcd
commit 46ff506096

View file

@ -217,8 +217,8 @@ include(./deployment.pri)
include(../../mobile-widgets/qml/kirigami/kirigami.pri) include(../../mobile-widgets/qml/kirigami/kirigami.pri)
# Supress some warnings # Supress some warnings
QMAKE_CXXFLAGS += -w QMAKE_CXXFLAGS += -Wno-shorten-64-to-32 -Wno-missing-field-initializers
QMAKE_CFLAGS += -w QMAKE_CFLAGS += -Wno-shorten-64-to-32 -Wno-missing-field-initializers
ios { ios {
QMAKE_ASSET_CATALOGS += ./storeIcon.xcassets QMAKE_ASSET_CATALOGS += ./storeIcon.xcassets