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

qmllint: QtWebSockets triggers warnings

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P1: Critical
    • Resolution: Unresolved
    • Affects Version/s: 6.2.0, 6.3.0 Beta1
    • Fix Version/s: None
    • Component/s: WebSockets
    • Labels:
      None
    • Platform/s:
      All

      Description

      Importing QtWebSockets automatically triggers warnings:

      import QtWebSockets 1.3
      ^^^^^^
      ---
      Warning: /Users/cyril/work/dev/tools/qt/6.2.0/macos/qml/QtWebSockets/plugins.qmltypes:15:37: Meta object revision and export version differ, ignoring the revision.
      Revision 0 corresponds to version 0.0; it should be 1.0.
      /Users/cyril/work/dev/tools/qt/6.2.0/macos/qml/QtWebSockets/plugins.qmltypes:15:40: Meta object revision and export version differ, ignoring the revision.
      Revision 1 corresponds to version 0.1; it should be 1.1.
      /Users/cyril/work/dev/tools/qt/6.2.0/macos/qml/QtWebSockets/plugins.qmltypes:67:37: Meta object revision and export version differ, ignoring the revision.
      Revision 0 corresponds to version 0.0; it should be 1.0.
      

      Sample code:

      import QtWebSockets
      
      WebSocket {
          id: socket
      }
      

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              kurt.pattyn Kurt Pattyn
              Reporter:
              c.lorquet Cyril Lorquet
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes