- Qbs Manual
- Export Item
- Qt Build Suite 1.3.4

DynamicLibrary Item FileTagger Item

# Export Item

An `Export` item can appear inside a Product Item. The properties attached to it will take effect in all products that depend on the product inside which the Export item is defined. As an example, consider these two products:

    Product {
        name: "A"
        Export {
            Depends { name: "cpp" }
            cpp.includePaths: "."
        }
    }

    Product {
        name: "B"
        Depends { name: "A" }
    }

The sources in product B will be able to use headers from product A without specifiying the full path to them, because the include path has been made known to the compiler via A's Export item.

Note: This relationship is transitive, so a product C depending on product B will also get the include paths via A's Export item.

DynamicLibrary Item FileTagger Item