mirror of
git://code.qt.io/qt/qt5.git
synced 2026-03-20 21:40:00 +08:00
Add build script for Qt 5
The build script will build each module individually, and install them if needed, in the correct order. Change-Id: I9416e624b080b8b25241270e909bd120a4028137 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
This commit is contained in:
committed by
Qt by Nokia
parent
707e32535d
commit
b60fa530d9
51
build.dependencies
Normal file
51
build.dependencies
Normal file
@@ -0,0 +1,51 @@
|
||||
# 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",
|
||||
"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",
|
||||
);
|
||||
|
||||
%build_commands = (
|
||||
"qtwebkit" => "QMAKEPATH=Tools/qmake qmake && make",
|
||||
);
|
||||
|
||||
# Platform specific modules
|
||||
|
||||
if ("$Config{osname}" =~ /linux/i) {
|
||||
$build_dependencies{"qtwaysland"} = "qtbase";
|
||||
}
|
||||
|
||||
if ("$Config{osname}" =~ /(ms|cyg)win/i) {
|
||||
$build_dependencies{"qtactiveqt"} = "qtbase";
|
||||
}
|
||||
Reference in New Issue
Block a user