# Last updated for qtbase-opensource-src-5.8.0.tar.xz source $setup if [ "$version" != "5.9.6" ]; then echo "You need to update the license fragment builder for Qt $version." exit 1 fi tar -xf $src mv qtbase-* qtbase # Read the license files here instead of in the big string so it is a fatal # error if any of them are missing. license_qt=$(cat qtbase/LICENSE.LGPLv3) cd qtbase/src/3rdparty license_android=$(cat android/LICENSE) license_angle1=$(cat angle/LICENSE) license_angle2=$(cat angle/TRACEEVENT_LICENSE) license_angle3=$(cat angle/SYSTEMINFO_LICENSE) license_dc=$(cat double-conversion/LICENSE) license_easing=$(cat easing/LICENSE) license_forkfd=$(cat forkfd/LICENSE) license_freebsd=$(cat freebsd/LICENSE) license_freetype=$(cat freetype/docs/GPLv2.TXT) license_gradle=$(cat gradle/LICENSE-GRADLEW.txt) license_harfbuzz=$(cat harfbuzz/COPYING) license_harfbuzz_ng=$(cat harfbuzz-ng/COPYING) license_ia2=$(cat iaccessible2/LICENSE) license_libjpeg=$(cat libjpeg/LICENSE) license_libpng=$(cat libpng/LICENSE) license_pcre2=$(cat pcre2/LICENCE) license_pixman=$(cat pixman/LICENSE) license_rfc6234=$(cat rfc6234/LICENSE) license_sha3_1=$(cat sha3/BRG_ENDIAN_LICENSE) license_sha3_2=$(cat sha3/CC0_LICENSE) license_xcb=$(cat xcb/LICENSE) license_xkbcommon=$(cat xkbcommon/COPYING) license_zlib=$(cat zlib/LICENSE) cat > $out <Qt

The Qt Toolkit is licensed under the GNU Lesser General Public License Version 3 (LGPLv3) as shown below.

$license_qt

Third-party components bundled with Qt

This software might include code from third-party comoponents bundled with Qt. The copyright notices of those components are reproduced below.

$license_android
$license_angle1
$license_angle2
$license_angle3
$license_dc
$license_easing
$license_forkfd
$license_freebsd
$license_freetype
$license_gradle
$license_harfbuzz
$license_harfbuzz_ng
$license_ia2
$license_libjpeg
$license_libpng
$license_pcre2
$license_pixman
$license_rfc6234
$license_sha3_1
$license_sha3_2
$license_xcb
$license_xkbcommon
$license_zlib
EOF