Remove qtjsondb from qt5.git
[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",
15     "qtdoc" => "qtbase,qtdeclarative",
16     "qtfeedback" => "qtbase,qtmultimedia,qtdeclarative",
17     "qtgraphicaleffects" => "qtbase,qtdeclarative,qtxmlpatterns",
18     "qtimageformats" => "qtbase",
19     "qtjsbackend" => "qtbase",
20     "qtlocation" => "qtbase,qtdeclarative,qt3d",
21     "qtmultimedia" => "qtbase,qtdeclarative",
22     "qtpim" => "qtdeclarative",
23     "qtqa" => "qtbase",
24     "qtquick1" => "qtbase,qtscript,qtxmlpatterns,qttools,qtsvg:s",
25     "qtscript" => "qtbase",
26     "qtsensors" => "qtbase,qtdeclarative",
27     "qtsvg" => "qtbase",
28     "qtsystems" => "qtbase,qtdeclarative",
29     "qttools" => "qtbase,qtdeclarative,qtwebkit:s",
30     "qttranslations" => "qttools",
31     "qtwebkit" => "qtbase,qtscript,qtdeclarative,qtquick1,qtlocation",
32     "qtwebkit-examples-and-demos" => "qtwebkit",
33     "qtxmlpatterns" => "qtbase",
34 );
35
36 @nondefault_modules = (
37     "qtwayland",
38 );
39
40 if ("$Config{osname}" =~ /mswin/i) {
41     %build_commands = (
42         "qtwebkit" => "perl Tools/Scripts/build-webkit --qt --no-netscape-plugin --no-webkit2",
43     );
44     push @nondefault_modules, ("qtwebkit", "qtwebkit-examples-and-demos");
45 } else {
46     %build_commands = (
47         "qtwebkit" => "perl Tools/Scripts/build-webkit --qt --release --no-netscape-plugin",
48     );
49 }
50
51 %install_commands = (
52     "qtwebkit" => "perl Tools/Scripts/build-webkit --qt --makeargs=\"install\"",
53 );
54
55 # Platform specific modules
56
57 if ("$Config{osname}" =~ /linux/i) {
58     $build_dependencies{"qtwayland"} = "qtbase,qtdeclarative";
59 }
60
61 if ("$Config{osname}" =~ /(ms|cyg)win/i) {
62     $build_dependencies{"qtactiveqt"} = "qtbase";
63 }