Skip to content

Commit

Permalink
Remove obsolete QT_DEPRECATED_WARNINGS macro
Browse files Browse the repository at this point in the history
  • Loading branch information
equeim committed Dec 16, 2024
1 parent 0edda59 commit 74889bb
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions cmake/CommonOptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,7 @@ function(set_common_options_on_targets)
list(APPEND common_compile_options ${TREMOTESF_COMMON_COMPILE_OPTIONS})
endif()

set(
common_compile_definitions
QT_DEPRECATED_WARNINGS
QT_MESSAGELOGCONTEXT
)
set(common_compile_definitions QT_MESSAGELOGCONTEXT)

# QT_DISABLE_DEPRECATED_BEFORE can cause linker errors with static Qt
get_target_property(qt_library_type Qt::Core TYPE)
Expand Down

0 comments on commit 74889bb

Please sign in to comment.