Skip to content
Commit 8112eadb authored by Stefano Crocco's avatar Stefano Crocco
Browse files

Make handling of QtWebEngine dictionaries more flexible

This commit does three things:
- it adds a cmake option to explicitly turn off dictionary generation. This
  allows distributions which want to package the dictionaries separately
  to avoid building them without needing to use hacks such as passing
  -DCMAKE_DISABLE_FIND_PACKAGE_Hunspell=ON to cmake
- it fixes a bug causing the QTWEBENGINE_DICTIONARIES_PATH environment
  variable to be ignored by SpellCheckerManager, leading to dictionaries
  being searched in the wrong directory
- it allows Konqueror to fall back to QtWebEngine behavior if dictionary
  generation has been turned off and the QTWEBENGINE_DICTIONARIES_PATH
  environment variable is unset
parent 7d7d769e
Pipeline #265302 passed with stage
in 14 minutes and 25 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment