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

QFormBuilder load and save

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 4.7.3
    • Tools: Designer
    • None
    • Windows XP

    Description

      QFile file(settings.value("/Settings/pathForm","").toString()+"/"+filename);
      QFormBuilder loader;
      file.open(QFile::ReadOnly);
      QWidget *formWidget = loader.load(&file, this);

      QFormBuilder builder;
      QFile file1("c:\myWidget.ui");
      file1.open(QFile::WriteOnly);
      builder.save(&file1,formWidget);
      file1.close();
      file.close();

      Reading ui file, which was build in Designer.
      After copy procedure, I have a file myWidget.ui.
      When I try open this file in Designer, Designer crashed up.

      Both ui files in zip.
      Sorry for my English

      Attachments

        1. myWidget.zip
          16 kB
          Aleksey Osipov
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kleint Friedemann Kleint
            aliks-os Aleksey Osipov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes