Hi,
And if you create this folder and move the files into ?
Bye
Charlie

Envoyé de mon Galaxy S6 Orange
-------- Message d'origine --------De : Jason H <jh...@gmx.com> Date : 
04/01/2017  16:43  (GMT+01:00) À : "interestqt-project.org" 
<interest@qt-project.org>, qt-creator <qt-crea...@qt-project.org> Objet : 
[Interest] QML dir hierarchy 
I am cross posting this to QtC and Interest because it's a combinational issue. 

My QML projects are getting sizable, I'd like to start breaking my QML 
resources down in a hierarchy, but my attempt at that has failed.
Given:

qml.qrc /
- app.js
- Screen1.qml
- Component1.qml
- Screen1.qml
- Component3.qml
- Component4.qml
- Screen1.qml
- Component2.qml

I'd like to break it down into:
qml.qrc /
- Screens /
-- Screen1.qml
-- Screen1.qml
-- Screen1.qml
- Components /
-- Comoponent1.qml
-- Comoponent2.qml

But I was not able to accomplish this in QtC. So I hacked the QRC file to have 
two prefix entries:  <qresource prefix="/screens"> and  <qresource 
prefix="/components"> However this resulted in errors.

Also, in QtC they weren't folderized, they just appeared as 
screens/Screen1.qml
...
components/Component1.qml
...

How can I accomplish a folderized QRC? Currently, the filesystem is flat, but I 
don't mind adding them to actual folders if that would help. 
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to