qt-build-tools/5.6.1/download_tmp.pl

23 lines
544 B
Perl
Raw Normal View History

2016-05-25 03:08:41 +08:00
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`;