Project

General

Profile

Bug #734 ยป 0010-Set-QT_DISABLE_DEPRECATED_BEFORE-to-6.0-in-Qt6-mode.patch

Marko Lindqvist, 07/02/2024 07:25 AM

View differences:

m4/qt6.m4
AC_DEFUN([FC_QT6],
[
if test "x$fc_qt6_usable" = "x" ; then
FC_QT6_CPPFLAGS="-DQT_DISABLE_DEPRECATED_BEFORE=0x050f00"
FC_QT6_CPPFLAGS="-DQT_DISABLE_DEPRECATED_BEFORE=0x060000"
case $host_os in
darwin*) FC_QT6_DARWIN;;
*) FC_QT6_GENERIC;;
meson.build
priv_conf_data.set('FC_QT5_MODE', 1)
qt_opts = []
else
add_global_arguments('-DQT_DISABLE_DEPRECATED_BEFORE=0x050b00', language : 'cpp')
add_global_arguments('-DQT_DISABLE_DEPRECATED_BEFORE=0x060000', language : 'cpp')
qt_opts = 'cpp_std=c++17'
endif
    (1-1/1)