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

Widget declaration fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.4.1
    • None

      Right click on project -> add new... -> Qt -> Qt Designer Form Class -> Choose... -> Template Widget -> Change classname to anything but "Form"


      Result in 5.4.1:
      cpp:

      test::test(QWidget *parent) :
      QWidget(parent),
      ui(new Ui::Form)

      h:

      private:
      Ui::Form *ui;

      Result in 5.4.0:
      cpp:

      test::test(QWidget *parent) :
      QWidget(parent),
      ui(new Ui::test)

      h:

      private:
      Ui::test *ui;


      5.4.1 sets wrong variable names which results in "invalid use of incomplete type..."

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

            mmutz Marc Mutz
            dominik_fehr Dominik Fehr
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes