mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-02 03:36:54 +08:00
Remove loading of thread modules. Not core module, and we don't use them. Return value of system command. Add --force-qmake option, and by default avoid running qmake when a Makefile already exists. Do not pass '-j 1' unless explicit on the command line, and pick up 'MAKE' environment variable. (Thiago) Remove usage of File::Which, as it's not a core module, and often not present on host machines. (Peppe) Remove '-s' or '/s' optin to make/nmake, as we cannot see how far we have compiled, and we only get warnings/errors. Change the qtwebkit build command, and add separate command for installing qtwebkit. Also add the required build tools for WebKit on Windows. Change-Id: I79bffa39a13ece78fa401f39a38a1ccaf0f389b0 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
62 lines
2.0 KiB
Plaintext
62 lines
2.0 KiB
Plaintext
# 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:s",
|
|
"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",
|
|
);
|
|
|
|
if ("$Config{osname}" =~ /mswin/i) {
|
|
%build_commands = (
|
|
"qtwebkit" => "perl Tools/Scripts/build-webkit --qt --no-netscape-plugin --no-webkit2",
|
|
);
|
|
} else {
|
|
%build_commands = (
|
|
"qtwebkit" => "perl Tools/Scripts/build-webkit --qt --release --no-netscape-plugin",
|
|
);
|
|
}
|
|
|
|
%install_commands = (
|
|
"qtwebkit" => "perl Tools/Scripts/build-webkit --qt --makeargs=\"install\"",
|
|
);
|
|
|
|
# Platform specific modules
|
|
|
|
if ("$Config{osname}" =~ /linux/i) {
|
|
$build_dependencies{"qtwayland"} = "qtbase";
|
|
}
|
|
|
|
if ("$Config{osname}" =~ /(ms|cyg)win/i) {
|
|
$build_dependencies{"qtactiveqt"} = "qtbase";
|
|
}
|