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. Regards, Furkan Üzümcü On Feb 18, 2019, 03:31 -0500, Christian Kandeler <christian.kande...@qt.io>, wrote: > On Sun, 17 Feb 2019 21:19:10 -0500 > Furkan Üzümcü <furkanuzu...@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@qt-project.org > https://lists.qt-project.org/listinfo/interest
_______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest