[Qt-creator] Remind me again... QML are in Sources?
Jason H
jhihn at gmx.com
Mon Mar 13 17:21:39 CET 2017
> >>> Now, it seems to be that all QML, QRC, JS amd CPP are in the Sources.
> >>>
> >>> I liked the structured approach because Sources wasn't just a garbage area where everything got dumped. The tree was more organized, as it is actually structured.
> >>>
> >>> Am I wrong, did anyone prefer the old way, or is this somehow better in a way I don't understand?
> >> See https://bugreports.qt.io/browse/QTCREATORBUG-15619
> > Thanks. I remember reading that some time ago... However that is not what is happening now.
> >
> > That bug describes that they are being shown twice, which indeed was a problem. But now, they are only shown once, and my conjecture is that it is in the wrong place. Look at the screenshot I sent and one that I am attaching here.
> > 1. The qlm.qrc no longer appears in 'Resources'. Instead it shows up in "Sources" (whose folder artwork has "C++" overlaid, btw.)
> > 2. The qml.qrc in sources is not a tree (of any level) it takes me to the QRC editor view.
> > 3. Resources no longer lists all the QRCs, since qml.qrc is in Sources . (This is inconsistent, and kinda a WTF)
> >
> > I'd like to have it back to the old view so that it doesn't matter if you are using lupdate_only or the QtQuick compiler or the combination of the two. My file hierarchy should not change depending on the activation matrix of those features.
> >
> I'm still using lupdate_only {SOURCES += ...}
>
> for me under SOURCES there are only cpp and qml - nothing else
> and I like to have cpp and qml side by side under SOURCES
> and both are trees
>
> yes - qml.qrc contains same qml files but not so easy to navigate
> same is for me with images and other RESOURCES - I included them into
> OTHER_FILES to have easy-to-navigate trees
>
> see attached my structure
Is that Sources/qml and Sources/cpp folderization supposed to happen automatically, or did you set that up? My Sources has no folders and is QML side-by-side with C++.
More information about the Qt-creator
mailing list