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





_______________________________________________
SailfishOS.org Devel mailing list

Reply via email to