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

Selecting binary resource as source to QTextBrowser corrupts .ui file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 3.1.1
    • Widget Designer
    • None
    • Ubuntu 14.04 x64

    Description

      1. Add QTextBrowser to layout
      2. In properties, scroll down to "source" and click "select resource"
      3. Select binary file (in my case it was a large .PNG that I selected by mistake)
      4. [Note: random hieroglyphs appear in the browser]
      5. Save and exit
      6. Open project and .ui file again. The following error shows in dialogue: An error has occurred while reading the UI file at line 166, column 0: Premature end of document.

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            garlopf Lennart Rolland
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes