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

"With ui.qml file" must not be enabled for Qt versions < 5.4

    XMLWordPrintable

Details

    • dbe4e32201ebd10874c83c26493a94ba3ac0a215 4dbc0bdbf7f99bbb940da2f100ba4e5460507983

    Description

      1. Start Creating a Qt Quick (Controls) Application or Qt Quick (Controls) UI project.
      2. Proceed to the "Define Project Details" page.
      3. In the combo box, select "Qt 5.3".
      4. Check "With ui.qml file".
      5. Finish creating the project.
      6. Try running this project on Qt 5.3.
        You'll see QML errors like: "untitled.qml:7 MainForm is not a type"
      7. Rename MainForm.ui.qml to MainForm.qml.
      8. Try running this project on Qt 5.3.
        Now it works.

      It seems Qt 5.3 is not able to handle ui.qml files. If this is a bug in Qt, it will not be fixed anymore. So Creator should not create projects with ui.qml files when minimum Qt version 5.3 is selected.

      Found by Squish tests tst_qtquick_creation and tst_qtquick_creation3.

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-14712
        # Subject Branch Project Status CR V

        Activity

          People

            hunger Tobias Hunger
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes