mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-25 00:15:11 +08:00
A lot of modules had a hard depency on qtdeclarative (for extra qml components or qml examples). Now, these modules can be build without the need of qtdeclarative. These modules are: qttools (since 3b9ac2dc08310aa13b121274afea130fa4f7c6f8 ) qtmultimedia (since 02f144ba6f50bb7d404e2808b9bb4fa32a206aea ) qtsystems (since 12408d021af8b9f8e0afad7ae67f389974ed0607 ) qtlocation (since fa404bfb7a83ecb01deb4df16d5ac72a8c5ab066 ) qtsensors ( since 3c069e5e4a720582f37f0b2d053d19632f6ddfe2 ) Also, useless dependencies are cut, and the dependencies declared in build.dependencis mirror more accurately what is done is qt.pro Those modifications allow an easier and faster build for people who do not use qml. Note that qtdelarative will still be needed to build the tests of each of the modules listed above Change-Id: Icf7711c07d041b8ef836f213fadeebb9328877d5 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
64 lines
2.0 KiB
Plaintext
64 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",
|
|
"qtdoc" => "qtbase,qtdeclarative",
|
|
"qtfeedback" => "qtbase,qtmultimedia,qtdeclarative",
|
|
"qtgraphicaleffects" => "qtbase,qtdeclarative,qtxmlpatterns",
|
|
"qtimageformats" => "qtbase",
|
|
"qtjsbackend" => "qtbase",
|
|
"qtlocation" => "qtbase,qtdeclarative:s,qt3d",
|
|
"qtmultimedia" => "qtbase,qtdeclarative:s",
|
|
"qtpim" => "qtdeclarative",
|
|
"qtqa" => "qtbase",
|
|
"qtquick1" => "qtbase,qtscript,qtxmlpatterns,qttools,qtsvg:s",
|
|
"qtscript" => "qtbase",
|
|
"qtsensors" => "qtbase,qtdeclarative:s",
|
|
"qtsvg" => "qtbase",
|
|
"qtsystems" => "qtbase,qtdeclarative:s",
|
|
"qttools" => "qtbase,qtdeclarative:s,qtwebkit:s",
|
|
"qttranslations" => "qttools",
|
|
"qtwebkit" => "qtbase,qtscript,qtdeclarative,qtquick1,qtlocation",
|
|
"qtwebkit-examples-and-demos" => "qtwebkit",
|
|
"qtxmlpatterns" => "qtbase",
|
|
);
|
|
|
|
@nondefault_modules = (
|
|
"qtwayland",
|
|
);
|
|
|
|
if ("$Config{osname}" =~ /mswin/i) {
|
|
%build_commands = (
|
|
"qtwebkit" => "perl Tools/Scripts/build-webkit --qt --no-netscape-plugin --no-webkit2",
|
|
);
|
|
push @nondefault_modules, ("qtwebkit", "qtwebkit-examples-and-demos");
|
|
} 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,qtdeclarative:s";
|
|
}
|
|
|
|
if ("$Config{osname}" =~ /(ms|cyg)win/i) {
|
|
$build_dependencies{"qtactiveqt"} = "qtbase";
|
|
}
|