From 95bfd3af29e6fab28f9be19da54f41cdd47cf121 Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Sat, 19 May 2018 22:08:58 +0200 Subject: iOS, supress warnings. Changed .pro file to supress warnings clang does not allow all of the issued warnings to be supressed with -Wno-foo, so instead doing -w Signed-off-by: Jan Iversen --- packaging/ios/Subsurface-mobile/Subsurface-mobile.pro | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packaging/ios/Subsurface-mobile/Subsurface-mobile.pro b/packaging/ios/Subsurface-mobile/Subsurface-mobile.pro index 4e12db34b..47d4b7629 100644 --- a/packaging/ios/Subsurface-mobile/Subsurface-mobile.pro +++ b/packaging/ios/Subsurface-mobile/Subsurface-mobile.pro @@ -216,6 +216,10 @@ include(deployment.pri) include(../../../mobile-widgets/qml/kirigami/kirigami.pri) +# Supress some warnings +QMAKE_CXXFLAGS += -w +QMAKE_CFLAGS += -w + ios { QMAKE_ASSET_CATALOGS += ../storeIcon.xcassets app_launch_images.files = ../SubsurfaceMobileLaunch.xib $$files(../SubsurfaceMobileLaunchImage*.png) -- cgit v1.2.3-70-g09d2