diff options
Diffstat (limited to 'share/qbs/modules/qt/QtModule.qbs')
-rw-r--r-- | share/qbs/modules/qt/QtModule.qbs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/share/qbs/modules/qt/QtModule.qbs b/share/qbs/modules/qt/QtModule.qbs new file mode 100644 index 000000000..b1a03d4c2 --- /dev/null +++ b/share/qbs/modules/qt/QtModule.qbs @@ -0,0 +1,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)] +} |