On 11 August 2016 at 20:54, J-P Nurmi <jpnu...@qt.io> wrote: > On 11 Aug 2016, at 14:43, Ben Lau <xben...@gmail.com> wrote: > > > I think so. I would suggest to add a new variable called "QML_SCAN_PATH" > for qmake. And let's qmlimportscanner scan those directory too. Moreover, > due to QTBUG-48480, it may also need a variable QML_EXCLUDE_SCAN_PATH too. > > [QTBUG-48480] Qt5QuickTest should not be linked in iOS target for non-unit > test program - Qt Bug Tracker > <https://bugreports.qt.io/browse/QTBUG-48480> > > > There’s already QML_IMPORT_PATH that is only (?) used by Qt Creator for > resolving imports. Perhaps the same variable could be used for > qmlimportscanner... > > -- > J-P Nurmi > > I just thought QML_IMPORT_PATH will also include system QML path. But it don't. So it should be a good idea to use QML_IMPORT_PATH.
p.s I still need a variable like QML_EXCLUDE_PATH to fix QTBUG-48480.
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest