aboutsummaryrefslogtreecommitdiffstats
path: root/share/qbs/modules/qt/QtModule.qbs
blob: b1a03d4c240df1f9e0588f58051ae476bda469e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import qbs.base 1.0
import qbs.fileinfo 1.0 as FileInfo
import 'qtfunctions.js' as QtFunctions

Module {
    condition: false

    Depends { name: "cpp" }
    Depends { id: qtcore; name: "Qt.core" }

    property string binPath: qtcore.binPath
    property string incPath: qtcore.incPath
    property string libPath: qtcore.libPath
    property string qtModuleName: ''
    property string internalQtModuleName: 'Qt' + qtModuleName
    cpp.includePaths: [incPath + '/' + internalQtModuleName]
    cpp.dynamicLibraries: [QtFunctions.getLibraryName(internalQtModuleName, qbs.targetOS, cpp.debugInformation)]
    cpp.frameworks: [QtFunctions.getLibraryName(internalQtModuleName, qbs.targetOS, cpp.debugInformation)]
}