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

uic: When you set a space " " as "text“ property, code assigning an empty string is generated

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.4.0 Alpha
    • Build tools: uic
    • None
    • Windows7 64 Bit. Qt 5.3.2 .Vs2010.

    Description

      When I set a QPushButton's text property to " " with Qt Creator. And then I compile the project.I use qDebug()<<ui->pushButton->text(),it prints "" but not " " with a space in it.

      Attachments

        1. qtbug41886_diag5.diff
          0.5 kB
        2. qtbug41886.ui
          1.0 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kleint Friedemann Kleint
            chenxiyu chenxiyu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes