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

qmllint: QtWebSockets triggers warnings

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 6.2.0, 6.3.0 Beta1
    • WebSockets
    • None
    • 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

              kurt.pattyn Kurt Pattyn
              c.lorquet Cyril Lorquet
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes