summaryrefslogtreecommitdiffstats
path: root/translations/split-qt-ts.pl
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@qt.io>2018-12-03 14:44:42 +0100
committerOswald Buddenhagen <oswald.buddenhagen@qt.io>2018-12-03 16:00:43 +0000
commitc49e22e0b3a48b67f481f7362b74d90e6596b60f (patch)
tree92c63789f5d02f78a8727ec7844fdbfb611ce144 /translations/split-qt-ts.pl
parentdde235f1783df1034d2bc0cf5e3ac1055e679dda (diff)
Drop qtquick1 module
qtquick1 has been removed from Qt in 5.6. The qtquick1 got removed from the supermodule in qt 5.11.2 (see change d60ef0b20247 in qt5.git). So it's high time to also remove the qtquick1 and qmlviewer translation logic from qttranslations. Change-Id: I10290f95fa73d945ef7a88f9c2dab328df67b448 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'translations/split-qt-ts.pl')
-rwxr-xr-xtranslations/split-qt-ts.pl5
1 files changed, 2 insertions, 3 deletions
diff --git a/translations/split-qt-ts.pl b/translations/split-qt-ts.pl
index 78a1043..fe37e62 100755
--- a/translations/split-qt-ts.pl
+++ b/translations/split-qt-ts.pl
@@ -30,7 +30,7 @@
use strict;
-my @catalogs = ( "qtbase", "qtscript", "qtquick1", "qtmultimedia", "qtxmlpatterns" );
+my @catalogs = ( "qtbase", "qtscript", "qtmultimedia", "qtxmlpatterns" );
die "Usage: $0 <locale> [<builddir>]\n" if (@ARGV != 1 && @ARGV != 2);
my $lang = $ARGV[0];
@@ -42,9 +42,8 @@ for my $cat (@catalogs) {
$extra = " ../../qtactiveqt/src/src.pro ../../qtimageformats/src/src.pro" if ($cat eq "qtbase");
system("$lupdate ../../$cat/src/src.pro$extra -xts qt_$lang.ts -ts ${cat}_$lang.ts") and die;
}
-# qtdeclarative & qmlviewer are special: we import them, but they are not part of the meta catalog
+# qtdeclarative is special: we import it, but it is not part of the meta catalog
system("$lupdate ../../qtdeclarative/src/src.pro -xts qt_$lang.ts -ts qtdeclarative_$lang.ts") and die;
-system("$lupdate ../../qtquick1/tools/qml/qml.pro -xts qt_$lang.ts -ts qmlviewer_$lang.ts") and die;
open META, "> qt_$lang.ts" or die;
print META <<EOF ;