Skip to content

Commit

Permalink
Avoid failing on Qt 5.15 deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
hluk committed Nov 7, 2020
1 parent 5f97d94 commit a46b528
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Expand Up @@ -122,6 +122,9 @@ if (PEDANTIC)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} \
-Wno-unused-member-function \
")

# FIXME: Fix deprecated stuff in Qt 5.15.
add_definitions( -DQT_NO_DEPRECATED_WARNINGS )
endif()

if(WITH_TESTS)
Expand Down

0 comments on commit a46b528

Please sign in to comment.