[Qbs] AutotestRunner in QtCreator

Richard Weickelt richard at weickelt.de
Tue Nov 24 14:19:37 CET 2020

> 2. Build the AutorestRunner product explicitly. It will not show up under "run".

> That's what I meant, I can not select it as a run target.

> And I don't know how to say "just build product X", if it's not a run target.

In the Projects view, right-click on the autotest-runner product and in the context menu click on Build or Rebuild.

You can also set the builtByDefault property to true, then it is built when hitting ctrl-b.

> -----Original Message-----
> From: "Björn Schäpers" <qt-maillist at hazardy.de>
> To: qbs at qt-project.org
> Sent: Tue, 24 Nov 2020 9:21
> Subject: [Qbs] AutotestRunner in QtCreator
> Hi,
> I've added a AutotestRunner to my Project, but it does not show up in the
> Creator, I think this is because it does not create a binary, right?
> I've not looked into the code, but how feasible would it be to give the Creator
> a fake executable to run the tests?
> Another idea I had, but not yet tested, is adding a dummy executable (just empty
> main()) which depends on the Runner, then the tests should run, when I build the
> dummy, right?
> Regards,
> Björn.
> _______________________________________________
> Qbs mailing list
> Qbs at qt-project.org
> https://lists.qt-project.org/listinfo/qbs

More information about the Qbs mailing list