Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 3.4.0
-
None
-
133f9945891cb821685eed71b910d2d32b864676
Description
It seems like there have been some changes to Qt Quick and the creator since the tutorial was made.
- (Big difference) Tutorial doesn't account for the existing of now two separate qml files, main.qml and the mainForm.ui.qml.
- (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.
- The path to states.png isn't at all close.
- 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)
- 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.
- 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.
- (Related to 1)Adding the transitions to the main.ui.qml prevents the designer from editing it.