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

Debug messages appear as error messages in Qt 6.7.0 WebAssembly

    XMLWordPrintable

Details

    • WebAssembly

    Description

      How to reproduce:

      • Prepare any QML application that outputs debug messages with console.debug()
      • Run it on a web browser via Qt WebAssembly
      • Open the developer tool of the browser and see how the debug messages are displayed there. With Qt 6.7.0 they are displayed with an error icon ( 'x' in a red circle, see 6_7_0.png ) while they are displayed with a warning icon with Qt 6.6.3 ( '!' in a yellow triangle, see 6_6_3.png). This makes debugging for Qt 6.7.0 harder.
      • qDebug() in C++ shows the same behavior.

       

      Attachments

        1. 6_7_0.png
          6_7_0.png
          51 kB
        2. 6_6_3.png
          6_6_3.png
          63 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            piwierci Piotr Wierciński
            hitoshiito Hitoshi Ito
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes