Pierre, You have just saved my day!!!! :)
Thanks so much for your reply. It’s working now. A new project has always the qml file in the root dir. On my apps structure, qml is always inside qml dir and the prefix is :/qml Thanks once again! Best regards, Nuno > On 15 Nov 2017, at 11:42, Pierre-Yves Siret <[email protected]> wrote: > > Hi, > I guess you are using QRC then and you are including one via your .pri file. > > Did you check that the prefix + base path of your existing files are the same > that your qml file in the qrc of your test app? > > Regards, > Pierre-Yves > > 2017-11-15 12:37 GMT+01:00 Nuno Santos <[email protected] > <mailto:[email protected]>>: > Hi, > > I’m suffering from a stupid problem which I can’t understand the reason of it. > > I have been using in all of my projects a shared architecture. There is a > common tree defined as a .pri that I include in all apps using > include(../shared/shared.pri). That shared tree has qml resources that I’m > able to use in all my apps by simple declaring their name in the qml. For > instance, if I have a XPTO.qml in the resources, I’m able to declared saying > XPTO { } > > Yesterday I created a new test app to make an isolated test to a shared qml > component and on this new app, but it doesn’t recognise that shared > component. Actually, it doesn’t recognise ANY shared component. > > The most awkward thing is that I have another test app that include the very > same .pri, uses the very same Qt kit and has the same .pro structure and it > is able to recognise the component bundled on the shared tree. > > How can this be? I’m getting crazy! > > Any ideas? > > Thx! > > Regards, > > Nuno > _______________________________________________ > Interest mailing list > [email protected] <mailto:[email protected]> > http://lists.qt-project.org/mailman/listinfo/interest > <http://lists.qt-project.org/mailman/listinfo/interest> >
_______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
