get rid of Qt-related compilation warnings on OSX/Clang

metadata
Wenzel Jakob 2013-10-24 22:20:44 +02:00
parent 0a54a04290
commit 4dedbe6427
1 changed files with 2 additions and 1 deletions

View File

@ -44,7 +44,8 @@ if hasQt:
'BWToolkitFramework', '-framework', 'Security', '-framework', 'CoreFoundation'])
if hasBreakpad:
qtEnv.Append(LINKFLAGS=['-framework', 'Breakpad'])
qtEnv.Append(CPPFLAGS=['-I', '/System/Library/Frameworks/Security.framework/Headers'])
# Qt 4 headers cause a lot of warnings on clang/OSX -- turn them off
qtEnv.Append(CPPFLAGS=['-Wno-unused-private-field', '-Wno-uninitialized'])
qtEnv.Append(LINKFLAGS=['-Xlinker', '-rpath', '-Xlinker', '@executable_path/../Frameworks'])
bpath = env.GetBuildPath('#src/mtsgui')