Qbs Manual

Qbs 1.16.0

# IncludeProbe

Locates header files outside the project. More...

Inherits: | PathProbe

- List of all members, including inherited members

## Detailed Description

This is the convenience item that searches for files in "include" directories.

For example, IncludeProbe can be used to search for a zlib header as follows:

      import qbs
      import qbs.Probes

      CppApplication {
          Probes.IncludeProbe {
              id: zlibProbe
              names: "zlib.h"
          }
          cpp.includePaths: zlibProbe.found ? [zlibProbe.path] : []
          files: 'main.cpp'
      }