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

QWebEngineCookieStorePrivate causes hard dependency on a exact QtCore version

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.11.0
    • 5.9
    • WebEngine
    • None
    • any using locally built Qt libraries
    • aa527a2e553bea0514bc088bfc09105703fe87ba

    Description

      QWebEngineCookieStorePrivate inherits QObjectPrivate, which causes a hard dependency of QtWebEngine on the exact QtCore version it was built with:

       

      ```

      Fatal: Cannot mix incompatible Qt library (version 0x50903) with this library (version 0x50904)
      KCrash: Application 'QupZilla' crashing...

      ```

       

      That could be OK after a major/minor Qt upgrade, but seems a bit "too much" after a patch-level upgrade,. Especially for a probably non-crucial feature (cookie store) of a Qt component that provides functionality that can hardly be called "core" (no matter how important) and is possibly even more expensive to build than the full collection of pre-WebEngine Qt5 components. For me it's even more reason to avoid and dislike QWE, for other users it might be(come) a reason to hold off upgrading.

       

      Wouldn't there be a more elegant way to implement QWebEngineCookieStorePrivate, making it inherit QObject for instance?

      Attachments

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

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            rjvbertin René Bertin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes