qt-build-tools/5.6.1/download_tmp.pl
2016-05-24 21:08:41 +02:00

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`;