Project

General

Profile

Bug #721 » 0020-Meson-qtver-qt6x-Define-FC_QT6X_MODE.patch

Marko Lindqvist, 06/16/2024 10:24 PM

View differences:

gen_headers/meson_fc_config.h.in
/* Build in Qt5 mode */
#mesondefine FC_QT5_MODE
/* Build in Qt6x mode */
#mesondefine FC_QT6X_MODE
/* Release cycle information */
#mesondefine IS_DEVEL_VERSION
#mesondefine IS_FREEZE_VERSION
meson.build
qt_opts = []
elif qtver == 'qt6x'
add_global_arguments('-DQT_DISABLE_DEPRECATED_BEFORE=0x060400', language : 'cpp')
priv_conf_data.set('FC_QT6X_MODE', 1)
qt_opts = 'cpp_std=c++17'
else
add_global_arguments('-DQT_DISABLE_DEPRECATED_BEFORE=0x060000', language : 'cpp')
(2-2/2)