diff options
Diffstat (limited to 'examples/webenginewidgets/spellchecker')
-rw-r--r-- | examples/webenginewidgets/spellchecker/doc/src/spellchecker.qdoc | 11 | ||||
-rw-r--r-- | examples/webenginewidgets/spellchecker/spellchecker.pro | 5 |
2 files changed, 6 insertions, 10 deletions
diff --git a/examples/webenginewidgets/spellchecker/doc/src/spellchecker.qdoc b/examples/webenginewidgets/spellchecker/doc/src/spellchecker.qdoc index 312582ada..ff7b43a1b 100644 --- a/examples/webenginewidgets/spellchecker/doc/src/spellchecker.qdoc +++ b/examples/webenginewidgets/spellchecker/doc/src/spellchecker.qdoc @@ -75,15 +75,8 @@ about how to create \c dic and \c aff files, see the Hunspell dictionary file format specification in the \l{Hunspell Project}. - When a specific spellchecking language is requested, Qt WebEngine will try - to load the already compiled matching \c .bdic file first from - \e qtwebengine_dictionaries directories relative to the executable, - then it will look in \c QT_INSTALL_PREFIX/qtwebengine_dictionaries. - - On macOS, because this example was configured to use Hunspell dictionaries, Qt WebEngine will - look in the \e qtwebengine_dictionaries directory located inside the application bundle - \c Resources directory, and also in the \c Resources directory located inside the - Qt framework bundle. + See the \l {Spellchecker}{Spellchecker feature documentation} for how + dictionary files are searched. We specify the QMAKE_EXTRA_COMPILERS parameter in the project file to add a conversion step to the build process: diff --git a/examples/webenginewidgets/spellchecker/spellchecker.pro b/examples/webenginewidgets/spellchecker/spellchecker.pro index c6031a36d..4c7ad2c36 100644 --- a/examples/webenginewidgets/spellchecker/spellchecker.pro +++ b/examples/webenginewidgets/spellchecker/spellchecker.pro @@ -1,9 +1,12 @@ +include($$QTWEBENGINE_OUT_ROOT/qtwebengine-config.pri) +QT_FOR_CONFIG += webengine-private + TEMPLATE = app TARGET = spellchecker QT += webenginewidgets CONFIG += c++11 -contains(WEBENGINE_CONFIG, use_native_spellchecker) { +qtConfig(native-spellchecker) { error("Spellcheck example can not be built when using native OS dictionaries.") } |