Hi, IMHO using the .PRO file to add files to the project is the right way: you put addiional files into OTHER_FILES and they will appear in the project tree. The qml.files = *.qml is some sort of filegroup that is used to define rules in the Makefile. They determine how to install what and where. All those filegroups are combined in the INSTALLS section of the .PRO file or the .PRF file. Have a look at https://sailfishos.org/develop-packaging-apps.html.
BR. Sven On 17.12.2013, at 08:22, christopher.l...@thurweb.ch wrote: > 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 _______________________________________________ SailfishOS.org Devel mailing list