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 <[email protected]> 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 <[email protected]> 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 > [email protected] > http://lists.qt-project.org/mailman/listinfo/interest > > > > _______________________________________________ > Interest mailing list > [email protected] > http://lists.qt-project.org/mailman/listinfo/interest > >
_______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
