Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-19684

No output from QML warnings/errors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2: Important P2: Important
    • None
    • Qt Creator 4.3.1, Qt Creator 4.4.0-beta1, Qt Creator 4.5.0
    • None
    • Ubuntu 16.04

      The following application should cause an error to be printed to the console:

      import QtQuick 2.9
      import QtQuick.Window 2.2
      
      Window {
          visible: true
          width: 640
          height: 480
          title: qsTr("Hello World")
      
          p
      }
      
      Starting /home/mitch/dev/temp/quick-qt5_9_debug-Debug/quick...
      QML debugging is enabled. Only use this in a safe environment.
      QQmlApplicationEngine failed to load component
      qrc:/main.qml:11 Syntax error
      
      /home/mitch/dev/temp/quick-qt5_9_debug-Debug/quick exited with code 255
      

      With Qt 5.11 (current dev branch), there are no errors, just this:

      Starting /home/mitch/dev/temp/quick-qt5_dev_debug-Debug/quick...
      /home/mitch/dev/temp/quick-qt5_dev_debug-Debug/quick exited with code 255
      

      I do see the errors if I check "Run in terminal" or run the application from the command line. Disabling QML debugging has no effect, though interestingly, the "Debugger Console" does show the warnings if QML debugging is enabled.

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

            hunger Tobias Hunger
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes