Thanks Ben for sharing your experience. Don’t you think this behaviour should be improved? I think I will submit this a feature suggestion.
> On 11 Aug 2016, at 11:58, Ben Lau <xben...@gmail.com> wrote: > > > I think qmlimportscanner only scan QML file within the project directory > regardless of is it used / referred by .pro or resource file. All QML files > in sibling directory will be ignored. > > I have got similar problem. So far I fix it by adding extra import statement > in the main.qml . And leave a comment "Don't remove it" to warn other > developer not to remove those import statements even they are not needed by > main.qml. > > On 11 August 2016 at 00:37, Nuno Santos <nunosan...@imaginando.pt > <mailto:nunosan...@imaginando.pt>> wrote: > I think I have just found a bug in qmlimportscanner. > > In order to qmlimportscanner correctly include the necessary plugins, it need > to have a Qt resources file added to the .pro resources. > > However, in my case, I have shared resources across apps. To do it so, I need > to have a .pri which has resources. > > It seems that qmlimportscanner ignores .pri resources and it is not able to > correctly link with the necessary plugin. > > To test this theory I have added a dummy qml file with an empty item and the > QtGraphicalEffects import line and it launched correctly. > > Before submitting a bug I would love to have community feedback. > > Best regards, > > Nuno > >> On 10 Aug 2016, at 17:15, Nuno Santos <nunosan...@imaginando.pt >> <mailto:nunosan...@imaginando.pt>> wrote: >> >> Hi, >> >> I’m trying to use QtGraphicalEffects on iOS but i’m having: >> >> module "QtGraphicalEffects" plugin "qtgraphicaleffectsplugin" not found >> >> In fact it is not linking with the plugin. Is this a know problem with Qt >> 5.7 and iOS?? >> >> Thanks, >> >> Regards, >> >> Nuno >> _______________________________________________ >> Interest mailing list >> Interest@qt-project.org <mailto:Interest@qt-project.org> >> http://lists.qt-project.org/mailman/listinfo/interest >> <http://lists.qt-project.org/mailman/listinfo/interest> > > > _______________________________________________ > Interest mailing list > Interest@qt-project.org <mailto:Interest@qt-project.org> > http://lists.qt-project.org/mailman/listinfo/interest > <http://lists.qt-project.org/mailman/listinfo/interest> > >
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest