aboutsummaryrefslogtreecommitdiffstats
path: root/share/qbs/modules/qt/QtModule.qbs
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@nokia.com>2012-02-15 15:56:22 +0100
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2012-02-15 21:57:41 +0100
commit5672fa8fd3bd6b09125d9e143a7bb277cea2e87f (patch)
treec945b6ad76bd8c8f6af8b520cf3ce72ef298d4b5 /share/qbs/modules/qt/QtModule.qbs
Long live qbs!
Diffstat (limited to 'share/qbs/modules/qt/QtModule.qbs')
-rw-r--r--share/qbs/modules/qt/QtModule.qbs19
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)]
+}