From e6317d4552dd84c2551bbf63b08e55205e8c9f68 Mon Sep 17 00:00:00 2001 From: ctrlaltca Date: Mon, 22 Dec 2025 11:51:29 +0100 Subject: Add a spellchecker backend based on windows >=8 integrated spellchecker (#2743) * Add a spellchecker backend based on windows >=8 integrated spellchecker * CI: remove enchant from windows builds * Assume Qt5 is Windows 7, Qt6 is Windows >= 10 * Qt5 build is picking up a foreign libenchant from the build system, disable it--- src/modules/options/OptionsWidget_textEncoding.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/options/OptionsWidget_textEncoding.cpp') diff --git a/src/modules/options/OptionsWidget_textEncoding.cpp b/src/modules/options/OptionsWidget_textEncoding.cpp index d23416d8b..411defe01 100644 --- a/src/modules/options/OptionsWidget_textEncoding.cpp +++ b/src/modules/options/OptionsWidget_textEncoding.cpp @@ -133,7 +133,7 @@ OptionsWidget_textEncoding::OptionsWidget_textEncoding(QWidget * parent) else m_pForcedLocaleCombo->setCurrentIndex(iMatch); -#ifdef COMPILE_ENCHANT_SUPPORT +#if defined(COMPILE_ENCHANT_SUPPORT) || defined(COMPILE_WINSPELLCHECKER_SUPPORT) { gbox = addGroupBox(0, 2, 0, 2, Qt::Horizontal, __tr2qs_ctx("Spell Checker Dictionaries", "options")); @@ -226,7 +226,7 @@ void OptionsWidget_textEncoding::commit() } } -#ifdef COMPILE_ENCHANT_SUPPORT +#if defined(COMPILE_ENCHANT_SUPPORT) || defined(COMPILE_WINSPELLCHECKER_SUPPORT) QStringList wantedDictionaries; for(int i = 0; i < m_pSpellCheckerDictionaries->rowCount(); ++i) { -- cgit v1.3.1-10-gc9f91