[Qbs] Qt Quick Tests and custom import paths
Christian Kandeler
christian.kandeler at qt.io
Thu May 31 11:22:42 CEST 2018
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
More information about the Qbs
mailing list