Project

General

Profile

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

Marko Lindqvist, 06/16/2024 08:18 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=0x060600', 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')
(1-1/2)