mirror of
https://github.com/fralx/LimeReport.git
synced 2024-12-23 16:22:58 +03:00
Disable warnings for 3rdparty code
This commit is contained in:
parent
ffd82a18ca
commit
9ce7e4dfbf
3
3rdparty/3rdparty.pro
vendored
3
3rdparty/3rdparty.pro
vendored
@ -3,3 +3,6 @@ ZINT_VERSION = 2.6.1
|
||||
INCLUDEPATH += $${ZINT_PATH}/backend $${ZINT_PATH}/backend_qt
|
||||
DEPENDPATH += $${ZINT_PATH}/backend $${ZINT_PATH}/backend_qt
|
||||
include($${ZINT_PATH}/backend_qt/backend_qt.pro)
|
||||
|
||||
CONFIG -= warn_on
|
||||
CONFIG += warn_off
|
||||
|
12
3rdparty/zint-2.6.1/backend_qt/backend_qt.pro
vendored
12
3rdparty/zint-2.6.1/backend_qt/backend_qt.pro
vendored
@ -24,7 +24,9 @@ unix{
|
||||
}
|
||||
|
||||
INCLUDEPATH += $$PWD/../backend
|
||||
DEFINES += _CRT_SECURE_NO_WARNINGS _CRT_NONSTDC_NO_WARNINGS ZINT_VERSION=\\\"$$ZINT_VERSION\\\"
|
||||
|
||||
DEFINES += ZINT_VERSION=\\\"$$ZINT_VERSION\\\"
|
||||
|
||||
CONFIG(release, debug|release){
|
||||
TARGET = QtZint
|
||||
} else {
|
||||
@ -36,14 +38,6 @@ CONFIG(release, debug|release){
|
||||
LIBS += -lpng
|
||||
}
|
||||
|
||||
|
||||
win32-msvc* {
|
||||
DEFINES += _CRT_SECURE_NO_WARNINGS
|
||||
#QMAKE_CFLAGS += /TP /wd4018 /wd4244 /wd4305
|
||||
#QMAKE_CXXFLAGS += /TP /wd4018 /wd4244 /wd4305
|
||||
}
|
||||
|
||||
|
||||
INCLUDEPATH += zint zint/backend zint/backend_qt
|
||||
|
||||
HEADERS += $$PWD/../backend/aztec.h \
|
||||
|
Loading…
Reference in New Issue
Block a user