Probe Item

A Probe item can appear inside a Product Item and is run prior to building products in order to locate dependent headers, libraries, and other files outside the project directory whose locations are not known ahead of time. Probes are similar to configure scripts.

Note: Because Probes often invoke external processes, which is relatively expensive compared to evaluating normal properties, their results are cached. To force re-evaluation of a Probe, you can supply the --force-probe-execution command-line option.

Probe Properties

PropertyTypeDefaultDescription
conditionbooltrueDetermines whether the probe will actually be run.
foundboolundefinedIndicates whether the probe was run successfully. Set by configure.
configurescriptundefinedScript that is executed when the probe is run.

© 2015 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.