[Interest] Odd behaviour when organizing .qml files into folders

Furkan Üzümcü furkanuzumcu at gmail.com
Mon Feb 18 21:01:47 CET 2019

That is a great advice. I didn't know RESOURCES generated a qrc file. I can't find anything in the documentation, it just shows that you add the qrc file to RESOURCES. I came across an alternative to generate the qrc file with a qmake rule though.

Can you perhaps share an example? I'd love to adopt this approach as it makes things more maintainable.

Furkan Üzümcü
On Feb 18, 2019, 03:31 -0500, Christian Kandeler <Christian.Kandeler at qt.io>, wrote:
> On Sun, 17 Feb 2019 21:19:10 -0500
> Furkan Üzümcü <furkanuzumcu at gmail.com> wrote:
> > I think it would be more helpful If we see your .pro file as well. But I'll tell you what I can say from what I understand.
> >
> > Qt Creator displays the files inside arc file in the project tree as well. So, I don't think you need to add the QML files to DISTFILES too. If you remove them from there and only add them to the arc file, you should be fine.
> I suggest the opposite: Don't have a qrc file at all, but let qmake auto-generate it by adding the qml files directly to RESOURCES.
> Christian
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20190218/09356ef0/attachment.html>

More information about the Interest mailing list