Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
Qt Creator 2.7.2
-
None
Description
https://codereview.qt-project.org/#change,61286 brought up this problem again. Currently most of the QML examples have the QML files listed in OTHER_FILES, because otherwise Creator doesn't show them in the QML section of the project. But it should not be mandatory. One or more of the following would help:
1) Creator could find the QML files without being told
2) if they are in the qrc file then they should be shown in the project tree too
3) if the project has both a .pro and a .qmlproject file, Creator could find the QML files based on the specifications there (although that is also a confusing setup, and I'd hope that a .qmlproject file would not be necessary alongside every .pro file)
4) there could be a QML_FILES variable to replace the OTHER_FILES. But this also seems redundant because many projects will have a qrc and/or qmlproject. In order to be worthwhile it would make sense for qmake to do something useful with this variable too.
5) make it possible to specify the qml files via wildcards or recursive search of a subdirectory in the .pro, the same as you can do in the .qmlproject
Attachments
Issue Links
- is replaced by
-
QTCREATORBUG-1346 Make .qrc files expandable in sidebar, and their files openable
-
- Closed
-
- relates to
-
QTCREATORBUG-11678 qrc files no longer show up in projects view with simplfy tree
-
- Closed
-