[Qbs] Writing a custom script by QBS

Christian Kandeler christian.kandeler at qt.io
Fri Oct 20 09:54:02 CEST 2017


On Fri, 20 Oct 2017 00:26:57 +0800
Ben Lau <xbenlau at gmail.com> wrote:

> > > Thanks for your reply. I have tried to run your example (by removing the
> > > dependence). It will complain:
> > >
> > > *ERROR: *Cannot run: Product 'remote deployer' is not an application.  
> >
> > You're not supposed to run it. Just build it, as described.
> >
> Sorry for the mistake. And that is the result. It is not triggered.

If you've removed the dependency, that's to be expected: The rule has no inputs now, i.e. there's nothing to upload. You'll need to adapt the example, e.g. by depending on a simple CppApplication product and changing the rule input tag to "application".


Christian



More information about the Qbs mailing list