QtcDevHeaders.qbs 473 Bytes
Newer Older
1 2 3 4 5
import qbs
import qbs.FileInfo

Product {
    property string productName: project.name
6
    property string baseDir: sourceDirectory
7 8 9 10
    name: productName + " dev headers"
    condition: qtc.make_dev_package
    Depends { name: "qtc" }
    Group {
11
        prefix: baseDir + '/'
12 13 14
        files: ["**/*.h"]
        qbs.install: true
        qbs.installDir: qtc.ide_include_path + '/' + FileInfo.fileName(product.sourceDirectory)
15
        qbs.installSourceBase: baseDir
16 17
    }
}