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

spellcheck error: session_bridge_ was not declared

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 6.2.2
    • Fix Version/s: 6.2.5, 6.3.0 Beta1, 6.4.0 Beta1
    • Component/s: WebEngine
    • Labels:
      None
    • Platform/s:
      All
    • Commits:
      a44849f729 (qt/qtwebengine/dev) f106ff2836 (qt/qtwebengine/6.2) f3329bf0e0 (qt/qtwebengine/6.3) f3329bf0e0 (qt/qtwebengine/6.3.0) f106ff2836 (qt/qtwebengine/6.2) f106ff2836 (qt/qtwebengine/6.2)

      Description

      cmake config
      -DQT_FEATURE_webengine_native_spellchecker=ON
       
      i guess this option is only valid on android
      my platform is linux
       
      with this option, ninja throws in the middle of build phase:
       

       
      [21760/26121] CXX obj/components/spellcheck/browser/browser/spell_check_host_impl.o
       
      FAILED: obj/components/spellcheck/browser/browser/spell_check_host_impl.o
       
      ../../../../../src/3rdparty/chromium/components/spellcheck/browser/spell_check_host_impl.cc:
      In member function 'virtual void SpellCheckHostImpl::RequestTextCheck
      (const string16&, int, spellcheck::mojom::SpellCheckHost::RequestTextCheckCallback)':
       
      ../../../../../src/3rdparty/chromium/components/spellcheck/browser/spell_check_host_impl.cc:52:3:
      error: 'session_bridge_' was not declared in this scope
       
       

       
      upstream sources
      https://source.chromium.org/chromium/chromium/src/+/master:components/spellcheck/browser/spell_check_host_impl.cc;l=52
      https://source.chromium.org/chromium/chromium/src/+/master:components/spellcheck/browser/spell_check_host_impl.h;l=70
       
      header file says:
       
      #if defined(OS_ANDROID)
      // Android-specific object used to query the Android spellchecker.
      SpellCheckerSessionBridge session_bridge_;
      #endif
       
       
       

        Attachments

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

          Activity

            People

            Assignee:
            allan.jensen Allan Sandfeld Jensen
            Reporter:
            milahu milan hauth
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes