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

Widget declaration fails

    XMLWordPrintable

Details

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

    Description

      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..."

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes