Skip to content

Commit

Permalink
qmake/cmake updated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
silverqx committed Jun 19, 2024
1 parent ea4f168 commit 5dfe138
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cmake/CommonModules/TinyCommon.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ ${TINY_UNPARSED_ARGUMENTS}")
# Disable deprecated APIs up to the given Qt version
# TODO qt5 remove silverqx
if(QT_VERSION_MAJOR GREATER_EQUAL 6)
# Disable all the APIs deprecated up to Qt 6.7.0
# Disable all the APIs deprecated up to Qt v6.7.0 (including)
target_compile_definitions(${target} INTERFACE QT_DISABLE_DEPRECATED_UP_TO=0x060700)
else()
# Disable all the APIs deprecated up to Qt 6.0.0
# Disable all the APIs deprecated up to Qt v6.0.0 (including)
target_compile_definitions(${target} INTERFACE QT_DISABLE_DEPRECATED_BEFORE=0x060000)
endif()

Expand Down
4 changes: 2 additions & 2 deletions qmake/common/common.pri
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ CONFIG -= c++11 app_bundle
# ---

# Disable deprecated APIs up to the given Qt version
# Disable all the APIs deprecated up to Qt 6.7.0
# Disable all the APIs deprecated up to Qt v6.7.0 (including)
# TODO qt5 remove silverqx
versionAtLeast(QT_VERSION, 6): \
DEFINES *= QT_DISABLE_DEPRECATED_UP_TO=0x060800
# Disable all the APIs deprecated up to Qt 6.0.0
# Disable all the APIs deprecated up to Qt v6.0.0 (including)
else: \
DEFINES *= QT_DISABLE_DEPRECATED_BEFORE=0x060000

Expand Down

0 comments on commit 5dfe138

Please sign in to comment.