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

"Spellchecking can not be enabled" error logged when disabling spell checking

    XMLWordPrintable

Details

    • a069e0bba (dev), 7f05c72cb (6.9), 2c782af96 (6.8)

    Description

      Since Qt 6.8, something like

      #include <QApplication>
      #include <QWebEngineProfile>
      
      int main(int argc, char *argv[]) {
          QApplication app(argc, argv);
          QWebEngineProfile::defaultProfile()->setSpellCheckEnabled(false);
          return app.exec();
      }
      
      QT += core webenginewidgets
      SOURCES = dict.cpp
      

      Results in:

      The following paths were searched for Qt WebEngine dictionaries:
        [folder to binary]/qtwebengine_dictionaries
        /usr/share/qt6/qtwebengine_dictionaries
      but could not find it.
      You may override the default search path by using QTWEBENGINE_DICTIONARIES_PATH environment variable.
      Spellchecking can not be enabled.
      

      Which seems odd, as the code tried to explicitly disable spell checking, not enable it.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            anualiyas Anu Aliyas
            the compiler Florian Bruhin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes