Skip to content
Permalink
Browse files

Do not warn about missing QT_INSTALL_TRANSLATIONS_DIR when no-embed-q…

…t-translations is used.

Also, remove old unreachable code that attempted to set
no-embed-qt-translations automatically.
  • Loading branch information...
mkrautz committed Oct 31, 2015
1 parent 86f97a9 commit a6ac95b78954f086cab16312451835d89df0f354
Showing with 1 addition and 3 deletions.
  1. +1 −3 src/mumble/mumble.pro
@@ -589,7 +589,7 @@ CONFIG(no-update) {
DEFINES *= NO_UPDATE_CHECK
}

!exists($$[QT_INSTALL_TRANSLATIONS]) {
!CONFIG(no-embed-qt-translations):!exists($$[QT_INSTALL_TRANSLATIONS]) {
error("$$escape_expand(\\n)$$escape_expand(\\n)"\
"The QT_INSTALL_TRANSLATIONS directory ($$[QT_INSTALL_TRANSLATIONS])$$escape_expand(\\n)"\
"does not exist.$$escape_expand(\\n)"\
@@ -610,8 +610,6 @@ CONFIG(no-update) {
"Please refer to the INSTALL file at the root of the source tree for more information$$escape_expand(\\n)"\
"about the build process.$$escape_expand(\\n)"\
"$$escape_expand(\\n)")

CONFIG += no-embed-qt-translations
}

!CONFIG(no-embed-qt-translations) {

0 comments on commit a6ac95b

Please sign in to comment.
You can’t perform that action at this time.