Reputation: 1291
I have a Qt project in Qt Creator. I have a qrc
file with the QMLs registered and everything works. However for some reason the "projects" view of Qt Creator doesn't show the QML folder (screenshot attached) like it does for any example project.
I'm just curious. Why does QML folder not show in my project but it shows up for the example projects?
Upvotes: 5
Views: 1580
Reputation: 1291
Figures that you have to add the files to the DISTFILES
directive.
Upvotes: 1
Reputation: 50550
You need to add them to your .pro file (if I'm not wrong it's enough to append them to DISTFILES
).
Upvotes: 2