Remove qt warning settings and use renderdoc ones

Disable warnings in qt (warn_off) then remove -w from qt compiler flags
to re-enable previous renderdoc warnings
Use qt standard way to enable c++11 eg CONFIG += c++11
This commit is contained in:
Jake Turner
2017-01-04 13:03:06 +00:00
committed by Baldur Karlsson
parent aa5ec25270
commit a91c355062
+4 -1
View File
@@ -77,7 +77,10 @@ win32 {
LIBS += -L$$DESTDIR -lrenderdoc
QMAKE_LFLAGS += '-Wl,-rpath,\'\$$ORIGIN\''
QMAKE_CXXFLAGS += -std=c++11
CONFIG += warn_off
CONFIG += c++11
QMAKE_CFLAGS_WARN_OFF -= -w
QMAKE_CXXFLAGS_WARN_OFF -= -w
macx: {
DEFINES += RENDERDOC_PLATFORM_POSIX RENDERDOC_PLATFORM_APPLE