[Qbs] Qt Quick Tests and custom import paths

Federico Frenguelli synasius at gmail.com
Thu May 31 11:27:06 CEST 2018


This is amazing! And it is exactly what I am doing now using a custom
module and a custom test runner!

Thanks

On Thu, 31 May 2018 at 11:23, Christian Kandeler <christian.kandeler at qt.io>
wrote:

> On Tue, 15 May 2018 15:19:49 +0200
> Federico Frenguelli <synasius at gmail.com> wrote:
>
> > I'm writing a test for a qt quick component and I need to add "qrc:/qml"
> to
> > the qml import paths.
> > One way would be to add custom arguments to the AutotestRunner:
> >
> > AutotestRunner {
> >     arguments: ["-import", "qrc:/qml"]
> > }
>
> In qbs 1.13, you will be able to write this in your autotest product:
>     autotest.arguments: ["-import", "qrc:/qml"]
> See https://codereview.qt-project.org/#/c/230726/
>
>
> Christian
> _______________________________________________
> Qbs mailing list
> Qbs at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qbs
>


-- 
Federico Frenguelli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20180531/493edb39/attachment.html>


More information about the Qbs mailing list