File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ CONFIG(debug, debug|release) {
1717 TARGET = $${TARGET}_d
1818}
1919
20+ !include(../../../global.pri)
21+
2022isEmpty(DESTDIR) {
2123 isEmpty(GLOBAL_DESTDIR): DESTDIR = $$PWD/../bin
2224 !isEmpty(GLOBAL_DESTDIR): DESTDIR = $$GLOBAL_DESTDIR
@@ -61,3 +63,7 @@ gcc|win32-clang-msvc:QMAKE_CXXFLAGS += -Wno-deprecated-declarations -Wuninitiali
6163win32-clang-msvc:QMAKE_CXXFLAGS += -Wno-unused-command-line-argument
6264#Do not issue warning to system includes
6365gcc:!isEmpty(QT_INSTALL_HEADERS): QMAKE_CXXFLAGS += -isystem $$[QT_INSTALL_HEADERS]
66+
67+
68+ QMAKE_CXXFLAGS -= -Werror -Werror=pedantic -pedantic-errors -Werror=cast-qual
69+ clang:QMAKE_CXXFLAGS += -Wno-error
Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ include ( ../build/common.prf )
2323include ( ../build/PythonQt.prf )
2424include ( ../build/PythonQt_QtAll.prf )
2525
26+ QMAKE_CXXFLAGS -= -Werror =non-virtual-dtor
27+
2628HEADERS += \
2729 PythonQtTestCleanup.h \
2830 PythonQtTests.h
You can’t perform that action at this time.
0 commit comments