mirror of
https://github.com/crystalidea/qt-build-tools.git
synced 2024-11-26 12:37:11 +08:00
23 lines
544 B
Perl
23 lines
544 B
Perl
use File::Copy qw(copy);
|
|
|
|
my $branch = "5.6.1";
|
|
|
|
mkdir "qt-$branch";
|
|
chdir "qt-$branch";
|
|
|
|
my @modules = ( 'qtbase', 'qtdeclarative', 'qtdoc', 'qtimageformats', 'qtmacextras', 'qttools', 'qtwinextras' );
|
|
|
|
foreach $module (@modules)
|
|
{
|
|
`wget --no-check-certificate https://codeload.github.com/qtproject/$module/zip/$branch -O$module-$branch.zip`;
|
|
#`unzip $module-$branch.zip`;
|
|
#`del $module-$branch.zip`;
|
|
#`mv $module-$branch $module`;
|
|
}
|
|
|
|
#copy "../compile_mac.pl", ".";
|
|
|
|
#`zip -r ../qt-$branch.zip *`;
|
|
#chdir "..";
|
|
#`rmdir qt-$branch /S /Q`;
|