I can't see how it would help the situation, Reto :/ -import might be able add extra imports and runtime (though I think it needs qmldir and proper plugin and doesn't work with just import directory, but maybe it works with just the directory too.
Still QML file will have import "../src" for the QtCreator editing sake and it's existence will produce errors at runtime since ../src won't be found. Or have I misunderstood you? Artem. On Mon, Oct 21, 2013 at 3:37 PM, Reto Zingg <reto.zi...@jolla.com> wrote: > Hi, > > On 21.10.2013 14:21, Artem Marchenko wrote: > > >> What would you do? >> > > assuming you are using qmltestrunner for your qml tests (/usr/lib/qt5/bin/ > **qmltestrunner from qt5-qtdeclarative-devel-tools)**, you can specify > import path with "-import". > > from "-help": > > QmlTest options: > -import dir : Specify an import directory. > -input dir/file : Specify the root directory for test cases or a > single test case file. > > > br > Reto > ______________________________**_________________ > SailfishOS.org Devel mailing list > -- Artem Marchenko http://agilesoftwaredevelopment.com http://twitter.com/AgileArtem
_______________________________________________ SailfishOS.org Devel mailing list