Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
7a722e2c
Commit
7a722e2c
authored
Apr 20, 2009
by
Oswald Buddenhagen
Browse files
protect against "make ts" with too old linguist tools
... which i of course promptly managed to do. argh.
parent
98f04ed2
Changes
1
Hide whitespace changes
Inline
Side-by-side
share/qtcreator/translations/translations.pro
View file @
7a722e2c
...
...
@@ -14,7 +14,8 @@ LRELEASE = $$targetPath($$[QT_INSTALL_PREFIX]/bin/lrelease)
TS_FILES
=
$$
prependAll
(
TRANSLATIONS
,
$$
PWD
/
qtcreator_
,.
ts
)
ts
.
commands
=
(
cd
$$
IDE_SOURCE_TREE
&&
$$
LUPDATE
src
-
ts
$$
TS_FILES
)
contains
(
QT_VERSION
,
^
4
\
.[
0
-
5
]
\
..
*
)
:
ts
.
commands
=
@
echo
This
Qt
version
is
too
old
for
the
ts
target
.
Need
Qt
4.6
+.
else
:
ts
.
commands
=
(
cd
$$
IDE_SOURCE_TREE
&&
$$
LUPDATE
src
-
ts
$$
TS_FILES
)
QMAKE_EXTRA_TARGETS
+=
ts
contains
(
TEMPLATE
,
vc
.
*
)|
contains
(
TEMPLATE_PREFIX
,
vc
)
:
vcproj
=
1
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment