Qt Creator doesn't display QML folder

1.4k views Asked by At

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?

list of folders

2

There are 2 answers

2
skypjack On BEST ANSWER

You need to add them to your .pro file (if I'm not wrong it's enough to append them to DISTFILES).

1
alessandro ferrucci On

Figures that you have to add the files to the DISTFILES directive.