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

Debugger does not display file name of QFile object from Qt 5.5.0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • Qt Creator 4.2.0
    • Qt Creator 3.5.0
    • Debugger
    • Windows 7 64 bit
      Qt 5.5.0
      MinGW g++ 4.9.1
      gdb 7.8

      1. Build a project containing this line on Qt 5.5.0:
        QFile file("C:\\Program Files\\t");
        
      2. Let the debugger stop behind this line.
      3. See "file" in Locals and Expressions view.
        An empty string is being displayed.

      Instead, "C:\Program Files\t" should be displayed. With Qt 5.4.2, this works correctly.

        1. left.log
          4 kB
        2. right.log
          37 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            hjk hjk
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes