<div dir="ltr">I can't see how it would help the situation, Reto :/<div><br></div><div>-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.</div>
<div><br></div><div>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.</div><div><br></div><div>Or have I misunderstood you?</div>
<div><br></div><div>Artem.</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Oct 21, 2013 at 3:37 PM, Reto Zingg <span dir="ltr"><<a href="mailto:reto.zingg@jolla.com" target="_blank">reto.zingg@jolla.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
On 21.10.2013 14:21, Artem Marchenko wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
What would you do?<br>
</blockquote>
<br>
assuming you are using qmltestrunner for your qml tests (/usr/lib/qt5/bin/<u></u>qmltestrunner from qt5-qtdeclarative-devel-tools)<u></u>, you can specify import path with "-import".<br>
<br>
from "-help":<br>
<br>
QmlTest options:<br>
-import dir : Specify an import directory.<br>
-input dir/file : Specify the root directory for test cases or a single test case file.<br>
<br>
<br>
br<br>
Reto<br>
______________________________<u></u>_________________<br>
SailfishOS.org Devel mailing list<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Artem Marchenko<br><a href="http://agilesoftwaredevelopment.com" target="_blank">http://agilesoftwaredevelopment.com</a><br><a href="http://twitter.com/AgileArtem" target="_blank">http://twitter.com/AgileArtem</a>
</div>