alessandro ferrucci
alessandro ferrucci

Reputation: 1291

Qt Creator doesn't display QML folder

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

Upvotes: 5

Views: 1580

Answers (2)

alessandro ferrucci
alessandro ferrucci

Reputation: 1291

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

Upvotes: 1

skypjack
skypjack

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

Related Questions