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

Old UI-file leftovers cause newer Qt Designer to crash when loading the UI-file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P4: Low
    • 4.8.0
    • 4.7.0
    • Tools: Designer
    • None
    • Windows XP SP3, Qt Designer 4.7.0
    • 2525432106823ff3df7f6bb2d44c0a376356a1a8

    Description

      When we switched from an older Qt version to 4.7.0 some
      UI-files didn't open anymore with the Qt Designer. I tried
      to pinpoint the reason and I found that certain data
      inside designerdata-tag caused the newer Qt Designer to
      crash when loading the UI-file. Here's the offending tag:

       <designerdata>
        <property name="gridDeltaY" >
         <number>0</number>
        </property>
        <property name="gridSnapX" >
         <bool>true</bool>
        </property>
       </designerdata> 
      

      I've attached an example UI-file that crashes (test.ui).

      Attachments

        1. test.ui
          0.9 kB
          Kari Salminen
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kleint Friedemann Kleint
            kari_null Kari Salminen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes