Add build script for Qt 5
[mirror/qt/qt5.git] / build.dependencies
1 # Platform independent modules
2
3 # Dependencies separated with comma ','
4 # Dependencies with ':s' appended indicate soft dependencies, which
5 # means that they are a dependency if the module is present, if not
6 # they are ignored.
7
8 use Config;
9 %build_dependencies = (
10     "qlalr" => "qtbase",
11     "qt3d" => "qtbase,qtdeclarative",
12     "qtbase" => "",
13     "qtconnectivity" => "qtsystems",
14     "qtdeclarative" => "qtbase,qtxmlpatterns,qtjsbackend,qtsvg:s",
15     "qtdoc" => "qtbase,qtdeclarative",
16     "qtdocgallery" => "qtbase,qtscript,qtdeclarative,qtjsondb:s",
17     "qtfeedback" => "qtbase,qtmultimedia,qtdeclarative",
18     "qtgraphicaleffects" => "qtbase,qtdeclarative,qtsvg,qtxmlpatterns",
19     "qtimageformats" => "qtbase",
20     "qtjsbackend" => "qtbase",
21     "qtjsondb" => "qtbase,qtdeclarative,qtxmlpatterns",
22     "qtlocation" => "qtbase,qtdeclarative,qt3d,qtjsondb",
23     "qtmultimedia" => "qtbase,qtdeclarative",
24     "qtphonon" => "qtbase",
25     "qtpim" => "qtdeclarative,qtjsondb:s",
26     "qtqa" => "qtbase",
27     "qtquick1" => "qtbase,qtscript,qtxmlpatterns,qtsvg:s",
28     "qtscript" => "qtbase",
29     "qtsensors" => "qtbase,qtdeclarative",
30     "qtsvg" => "qtbase",
31     "qtsystems" => "qtbase,qtdeclarative,qtjsondb:s",
32     "qttools" => "qtbase,qtscript,qtdeclarative,qtquick1,qtwebkit:s",
33     "qttranslations" => "qttools",
34     "qtwebkit" => "qtbase,qtscript,qtdeclarative,qtquick1,qtlocation",
35     "qtwebkit-examples-and-demos" => "qtwebkit",
36     "qtxmlpatterns" => "qtbase",
37 );
38
39 %build_commands = (
40     "qtwebkit" => "QMAKEPATH=Tools/qmake qmake && make",
41 );
42
43 # Platform specific modules
44
45 if ("$Config{osname}" =~ /linux/i) {
46     $build_dependencies{"qtwaysland"} = "qtbase";
47 }
48
49 if ("$Config{osname}" =~ /(ms|cyg)win/i) {
50     $build_dependencies{"qtactiveqt"} = "qtbase";
51 }