Avoid building webkit by default on Windows for now
[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:s",
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 @nondefault_modules = (
40     "qtwayland",
41 );
42
43 if ("$Config{osname}" =~ /mswin/i) {
44     %build_commands = (
45         "qtwebkit" => "perl Tools/Scripts/build-webkit --qt --no-netscape-plugin --no-webkit2",
46     );
47     push @nondefault_modules, ("qtwebkit", "qtwebkit-examples-and-demos");
48 } else {
49     %build_commands = (
50         "qtwebkit" => "perl Tools/Scripts/build-webkit --qt --release --no-netscape-plugin",
51     );
52 }
53
54 %install_commands = (
55     "qtwebkit" => "perl Tools/Scripts/build-webkit --qt --makeargs=\"install\"",
56 );
57
58 # Platform specific modules
59
60 if ("$Config{osname}" =~ /linux/i) {
61     $build_dependencies{"qtwayland"} = "qtbase,qtdeclarative";
62 }
63
64 if ("$Config{osname}" =~ /(ms|cyg)win/i) {
65     $build_dependencies{"qtactiveqt"} = "qtbase";
66 }