[Qbs] Running syncqt.pl

Christian Kandeler christian.kandeler at qt.io
Mon Jul 16 10:40:30 CEST 2018

On Fri, 13 Jul 2018 10:28:56 +0200
Christian Gudrian <christian.gudrian at aucos.de> wrote:

> I am currently trying to execute the syncqt.pl script as part of a Qbs 
> build from within a Probe.
> The script is located in the bin folder of the Qt installation which 
> could be determined by the module property Qt.core.binPath. Probes, 
> however, cannot depend on modules so this propery is not available.

I assume that by "Probes cannot depend on modules" you mean that you have no direct access to Qt.core in the configure script. This is because the configure scripts are supposed to be self-containted; all interaction with the "outside world" happens via the Probe item's properties. So you can just forward Qt.core.binPath to a Probe property and use that one inside the configure script.


More information about the Qbs mailing list