Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions build/common.prf
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ CONFIG(debug, debug|release) {
TARGET = $${TARGET}_d
}

!include(../../../global.pri)

isEmpty(DESTDIR) {
isEmpty(GLOBAL_DESTDIR): DESTDIR = $$PWD/../bin
!isEmpty(GLOBAL_DESTDIR): DESTDIR = $$GLOBAL_DESTDIR
Expand Down Expand Up @@ -61,3 +63,7 @@ gcc|win32-clang-msvc:QMAKE_CXXFLAGS += -Wno-deprecated-declarations -Wuninitiali
win32-clang-msvc:QMAKE_CXXFLAGS += -Wno-unused-command-line-argument
#Do not issue warning to system includes
gcc:!isEmpty(QT_INSTALL_HEADERS): QMAKE_CXXFLAGS += -isystem $$[QT_INSTALL_HEADERS]


QMAKE_CXXFLAGS -= -Werror -Werror=pedantic -pedantic-errors -Werror=cast-qual
clang:QMAKE_CXXFLAGS += -Wno-error
2 changes: 2 additions & 0 deletions tests/tests.pro
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ include ( ../build/common.prf )
include ( ../build/PythonQt.prf )
include ( ../build/PythonQt_QtAll.prf )

QMAKE_CXXFLAGS -= -Werror=non-virtual-dtor

HEADERS += \
PythonQtTestCleanup.h \
PythonQtTests.h
Expand Down