Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-66691

Look for spellchecker libraries in QStandardPaths::AppDataLocation

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • None
    • WebEngine
    • None

    Description

      On Windows and Linux, Qt WebEngine tries to locate spellchecker dictinoaries in a few locations:

      • QTWEBENGINE_DICTIONARIES_PATH
      • QCoreApplication::applicationDirPath()/qtwebengine_dictionaries
      • [QLibraryInfo::DataPath]/qtwebengine_dictionaries

      (see also https://doc.qt.io/qt-5/qtwebengine-features.html#spellchecker) .

      Note that all the hardcoded paths will typically be only writable by an administrator. Qt WebEngine should therefore arguably use QStandardPaths::locate(QStandardPaths::AppDataLocation, "qtwebengine_dictionaries", QStandardPaths::LocateDirectory). This can also replace QCoreApplication::applicationDirPath()/qtwebengine_dictionaries .

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-66691
          # Subject Branch Project Status CR V

          Activity

            People

              michal Michal Klocek
              kkohne Kai Köhne
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes