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

Pretty printers don't work correctly for Qt4 built within namespace

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 4.5.0-rc1
    • Qt Creator 4.4.0, Qt Creator 4.5.0-beta1
    • Debugger
    • None
    • OpenSUSE Leap 42.3, QtCreator > 4.0.
    • 58c329cd032482f18404dddfbc41ac03c78b8b42

    Description

      There is a problem with displaying Qt classes when debugging program linked against Qt4 built within namespace. Perhaps, ditto for Qt5, but I didn't test.

      To reproduce:

      1. Build Qt4 in some namespace;
      2. Create a simple program like: 
        int main()
        {
            QString tst = "foobar";
            return 0;
        }
        
      1. Set break point on tst;
      2. Start debugging.

      Actual:

      The string is displayed without pretty printers applied.

      Expected:

      Only "foobar" is displayed as a string value;

      Regression:

      Everything works as expected in QtCreator 4.0.

       

      Attachments

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

        Activity

          People

            hjk hjk
            vitaly_fanaskov Anonymous (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes