summaryrefslogtreecommitdiffstats
path: root/build.dependencies
diff options
context:
space:
mode:
authorMarius Storm-Olsen <marius.storm-olsen@nokia.com>2012-03-20 09:00:28 +0100
committerQt by Nokia <qt-info@nokia.com>2012-03-26 21:24:44 +0200
commitb60fa530d9af05e66fc9f0da74f2df05f80ce2a7 (patch)
tree22955434985c3cd0538dc630246330703c04fdcc /build.dependencies
parent707e32535dacae1ec16226c0028c28efaf20b900 (diff)
Add build script for Qt 5
The build script will build each module individually, and install them if needed, in the correct order. Change-Id: I9416e624b080b8b25241270e909bd120a4028137 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'build.dependencies')
-rw-r--r--build.dependencies51
1 files changed, 51 insertions, 0 deletions
diff --git a/build.dependencies b/build.dependencies
new file mode 100644
index 00000000..f92f5442
--- /dev/null
+++ b/build.dependencies
@@ -0,0 +1,51 @@
+# Platform independent modules
+
+# Dependencies separated with comma ','
+# Dependencies with ':s' appended indicate soft dependencies, which
+# means that they are a dependency if the module is present, if not
+# they are ignored.
+
+use Config;
+%build_dependencies = (
+ "qlalr" => "qtbase",
+ "qt3d" => "qtbase,qtdeclarative",
+ "qtbase" => "",
+ "qtconnectivity" => "qtsystems",
+ "qtdeclarative" => "qtbase,qtxmlpatterns,qtjsbackend,qtsvg:s",
+ "qtdoc" => "qtbase,qtdeclarative",
+ "qtdocgallery" => "qtbase,qtscript,qtdeclarative,qtjsondb:s",
+ "qtfeedback" => "qtbase,qtmultimedia,qtdeclarative",
+ "qtgraphicaleffects" => "qtbase,qtdeclarative,qtsvg,qtxmlpatterns",
+ "qtimageformats" => "qtbase",
+ "qtjsbackend" => "qtbase",
+ "qtjsondb" => "qtbase,qtdeclarative,qtxmlpatterns",
+ "qtlocation" => "qtbase,qtdeclarative,qt3d,qtjsondb",
+ "qtmultimedia" => "qtbase,qtdeclarative",
+ "qtphonon" => "qtbase",
+ "qtpim" => "qtdeclarative,qtjsondb:s",
+ "qtqa" => "qtbase",
+ "qtquick1" => "qtbase,qtscript,qtxmlpatterns,qtsvg:s",
+ "qtscript" => "qtbase",
+ "qtsensors" => "qtbase,qtdeclarative",
+ "qtsvg" => "qtbase",
+ "qtsystems" => "qtbase,qtdeclarative,qtjsondb:s",
+ "qttools" => "qtbase,qtscript,qtdeclarative,qtquick1,qtwebkit:s",
+ "qttranslations" => "qttools",
+ "qtwebkit" => "qtbase,qtscript,qtdeclarative,qtquick1,qtlocation",
+ "qtwebkit-examples-and-demos" => "qtwebkit",
+ "qtxmlpatterns" => "qtbase",
+);
+
+%build_commands = (
+ "qtwebkit" => "QMAKEPATH=Tools/qmake qmake && make",
+);
+
+# Platform specific modules
+
+if ("$Config{osname}" =~ /linux/i) {
+ $build_dependencies{"qtwaysland"} = "qtbase";
+}
+
+if ("$Config{osname}" =~ /(ms|cyg)win/i) {
+ $build_dependencies{"qtactiveqt"} = "qtbase";
+}