[Qbs] Qt Quick Tests and custom import paths

Federico Frenguelli synasius at gmail.com
Tue May 15 15:19:49 CEST 2018


Hi everyone,

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"]
}

but then tests fail when I mix cpp tests with qt quick tests. Do you know
of any workaround to make this work?

I'm using QBS 1.11.1 and I'm running the tests from the command line.

Thanks

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


More information about the Qbs mailing list