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

First Tutorial "Creating a Qt Quick Application" out of date

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • Qt Creator 3.4.1
    • Qt Creator 3.4.0
    • Documentation
    • None
    • 133f9945891cb821685eed71b910d2d32b864676

    Description

      It seems like there have been some changes to Qt Quick and the creator since the tutorial was made.

      1. (Big difference) Tutorial doesn't account for the existing of now two separate qml files, main.qml and the mainForm.ui.qml.
      2. (Related) There seems to be a philosophy that one isn't supposed to modify mainForm.ui.qml. If this is true, then the tutorial should be modified to add properties and modify main.qml.
      3. The path to states.png isn't at all close.
      4. In Step 4 of the tutorial, it says to select "Window" from the Navigator. I believe this should be "Rectangle" (this is also related to the first issue)
      5. The re-parenting of Mouse Area in the designer in step 9 didn't work for me. (I just modified the code instead). I think the UI process has changed.
      6. Using a StateGroup is no longer necessary (since these are all Items). The instructions should use the designer as much as possible in creating states.
      7. (Related to 1)Adding the transitions to the main.ui.qml prevents the designer from editing it.

      Attachments

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

        Activity

          People

            leenam Leena Miettinen
            jnwatson Nic Watson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes