Commit 6b3dfa54 authored by Alexander A. Maly's avatar Alexander A. Maly

Ignoring Qt 5.13 deprecated warnings

In Qt 5.13 deprecated warnings became too obtrusive.
It is not enough anymore to not define QT_DEPRECATED_WARNINGS to avoid them.
From now on it is necessary to define QT_NO_DEPRECATED_WARNINGS.
parent c5fa8ed2
Pipeline #1281 passed with stages
in 7 minutes and 4 seconds
......@@ -23,7 +23,7 @@ set(KUMIR2_SDK_SCRIPTS_DIR "${KUMIR2_RESOURCES_DIR}/devel")
set(KUMIR2_SDK_CMAKE_DIR "${KUMIR2_RESOURCES_DIR}/devel/cmake")
# Compile flags
set(KUMIR2_CXXFLAGS "-fno-exceptions -std=c++0x -fPIC -DAPPLE -Wno-inconsistent-missing-override")
set(KUMIR2_CXXFLAGS "-fno-exceptions -std=c++0x -fPIC -DAPPLE -Wno-inconsistent-missing-override -DQT_NO_DEPRECATED_WARNINGS")
set(KUMIR2_CXXFLAGS_Release "-O2 -DNDEBUG -DQT_NO_DEBUG")
set(KUMIR2_CXXFLAGS_Debug "-g -O0 -Werror -Wreorder -Wreturn-type -Wno-error=unused-variable -Wno-error=unused-parameter")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment