mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-19 06:20:53 +01:00
Update Cmake and disable fail to compile if it uses deprecated APIs.
This commit is contained in:
@@ -22,7 +22,7 @@ add_definitions(-DQT_DEPRECATED_WARNINGS)
|
|||||||
# You can make your code fail to compile if it uses deprecated APIs.
|
# You can make your code fail to compile if it uses deprecated APIs.
|
||||||
# In order to do so, uncomment the following line.
|
# In order to do so, uncomment the following line.
|
||||||
# disables all the APIs deprecated before Qt 6.0.0
|
# disables all the APIs deprecated before Qt 6.0.0
|
||||||
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000)
|
#add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000)
|
||||||
|
|
||||||
# to enable function names and line numbers even for release builds
|
# to enable function names and line numbers even for release builds
|
||||||
add_definitions(-DQT_MESSAGELOGCONTEXT)
|
add_definitions(-DQT_MESSAGELOGCONTEXT)
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ if(DEFINED BUILD_WITH_KF5)
|
|||||||
|
|
||||||
if(NOT DEFINED KF5_GIT_TAG)
|
if(NOT DEFINED KF5_GIT_TAG)
|
||||||
#https://qelectrotech.org/forum/viewtopic.php?pid=13924#p13924
|
#https://qelectrotech.org/forum/viewtopic.php?pid=13924#p13924
|
||||||
set(KF5_GIT_TAG v5.70.0)
|
set(KF5_GIT_TAG v5.77.0)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Fix stop the run autotests of kcoreaddons
|
# Fix stop the run autotests of kcoreaddons
|
||||||
|
|||||||
Reference in New Issue
Block a user