diff options
author | Oswald Buddenhagen <oswald.buddenhagen@digia.com> | 2012-12-07 20:00:11 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-03-19 08:39:35 +0100 |
commit | ca1b6099211311ea368fdef9efa9dacf3bc1ddb0 (patch) | |
tree | 1a1babde14cb81566e833c5706398ae207597dc8 | |
parent | 7d328b6153242b8a3ebbb7e1ef3e0927ca1d8acc (diff) | |
download | qttools-ca1b6099211311ea368fdef9efa9dacf3bc1ddb0.tar.gz |
make lconvert a host tool
it's a build tool, so it should be built for the host.
Change-Id: I55baee65d3e91bf5189c10f30e23975abfc4de10
Reviewed-by: hjk <hjk121@nokiamail.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
-rw-r--r-- | src/linguist/lconvert/lconvert.pro | 1 | ||||
-rw-r--r-- | src/linguist/lconvert/main.cpp | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/linguist/lconvert/lconvert.pro b/src/linguist/lconvert/lconvert.pro index 1f091cbff..e52e8d729 100644 --- a/src/linguist/lconvert/lconvert.pro +++ b/src/linguist/lconvert/lconvert.pro @@ -1,3 +1,4 @@ +option(host_build) QT = core-private DEFINES += QT_NO_CAST_FROM_ASCII QT_NO_CAST_TO_ASCII diff --git a/src/linguist/lconvert/main.cpp b/src/linguist/lconvert/main.cpp index edac6fe60..21b7a682c 100644 --- a/src/linguist/lconvert/main.cpp +++ b/src/linguist/lconvert/main.cpp @@ -134,6 +134,7 @@ struct File int main(int argc, char *argv[]) { QCoreApplication app(argc, argv); +#ifndef QT_BOOTSTRAPPED #ifndef Q_OS_WIN32 QTranslator translator; QTranslator qtTranslator; @@ -145,6 +146,7 @@ int main(int argc, char *argv[]) app.installTranslator(&qtTranslator); } #endif // Q_OS_WIN32 +#endif QStringList args = app.arguments(); QList<File> inFiles; |