diff options
author | Mitch Curtis <mitch.curtis@digia.com> | 2014-02-07 17:44:15 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-12 11:45:38 +0100 |
commit | c0a060b38e61ead7ab333bdce126572c98c1f41e (patch) | |
tree | ad6283b8e219461ec610628de778572340f74f6a | |
parent | b5bedc834561183eef36e12e83312a40ed1e0889 (diff) | |
download | qttools-c0a060b38e61ead7ab333bdce126572c98c1f41e.tar.gz qttools-c0a060b38e61ead7ab333bdce126572c98c1f41e.tar.bz2 qttools-c0a060b38e61ead7ab333bdce126572c98c1f41e.zip |
Document how to use windeployqt.
Change-Id: Iabc27ad9adb5597904c3d03a732c8fa84336f55c
Reviewed-by: Andrew Knight <andrew.knight@digia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
-rw-r--r-- | src/windeployqt/main.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/windeployqt/main.cpp b/src/windeployqt/main.cpp index bf31f2d1..f1573685 100644 --- a/src/windeployqt/main.cpp +++ b/src/windeployqt/main.cpp @@ -236,7 +236,11 @@ static inline int parseArguments(const QStringList &arguments, QCommandLineParse typedef QVector<OptionMaskPair> OptionMaskVector; parser->setSingleDashWordOptionMode(QCommandLineParser::ParseAsLongOptions); - parser->setApplicationDescription(QStringLiteral("Qt Deploy Tool ") + QLatin1String(QT_VERSION_STR)); + parser->setApplicationDescription(QStringLiteral("Qt Deploy Tool ") + QLatin1String(QT_VERSION_STR) + + QLatin1String("\n\nThe simplest way to use windeployqt is to add the bin directory of your Qt\n" + "installation (e.g. <QT_DIR\\bin>) to the PATH variable and then run:\n windeployqt <path-to-app-binary>\n" + "If ICU, ANGLE, etc. are not in the bin directory, they need to be in the PATH\nvariable. " + "If your application uses Qt Quick, run:\n windeployqt --qmldir <path-to-app-qml-files> <path-to-app-binary>")); const QCommandLineOption helpOption = parser->addHelpOption(); parser->addVersionOption(); |