[SailfishDevel] Displaying additional QML Subdirectories in the QtCreator Projects Browser
christopher.lamb at thurweb.ch
christopher.lamb at thurweb.ch
Tue Dec 17 07:22:27 UTC 2013
Hi all
In my Qt Projects I like to structure the QML files into
subdirectories according to their purpose, similar to the way that
Sailfish provides "cover" and "pages directories". As an example my
current project has a "gui" and a "backend" directory.
In older version of the Sailfish template these directories were made
visible in the QtCreator Projects Browser (top-left pane of the
screen) by a "qml.files" entry in the project .pro file.
e.g. qml.files = *.qml pages cover guy backend main.qml
The files in the directories were displayed in QtCreator, and did need
to be explicitly added via QtCreator, or listed in the .pro file.
This no longer works.
The only way I have found with the 1312 SDK, is to explicitly add the
qml file via right click in the Project Browser. This adds an explicit
entry for the new file in the .pro OTHER_FILES setting.
A wildcard addition to OTHER_FILES has no effect (e.g) "qml/gui/*.qml"
Any ideas?
Chris
More information about the Devel
mailing list