diff options
author | Katja Marttila <katja.marttila@qt.io> | 2018-01-12 10:43:29 +0200 |
---|---|---|
committer | Katja Marttila <katja.marttila@qt.io> | 2018-02-12 11:53:34 +0000 |
commit | c0b2007d2002055f92f3c7dea2e5df55bd40b2c6 (patch) | |
tree | 2b33d32b9c3a04ea38c36e68c543f37243a6ac94 /src/sdk/commandlineparser.cpp | |
parent | 0dd63d2e9a3f32fa8c16e31a01f5b897453ee9e5 (diff) |
Enable building IFW with Squish support
Change enables building IFW with Squish support by passing SQUISH_PATH
to qmake when building IFW. Also enables runtime change of Squish port
with command line option --squish-port <port number>. If no port is set,
default port 11233 is used to attach to Squish.
Change-Id: I4821b360031df66968d3592886c2e45598e1b097
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
Reviewed-by: Antti Kokko <antti.kokko@qt.io>
Reviewed-by: Johanna Äijälä <johanna.aijala@qt.io>
Diffstat (limited to 'src/sdk/commandlineparser.cpp')
-rw-r--r-- | src/sdk/commandlineparser.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sdk/commandlineparser.cpp b/src/sdk/commandlineparser.cpp index 2f1568786..80aa0afa8 100644 --- a/src/sdk/commandlineparser.cpp +++ b/src/sdk/commandlineparser.cpp @@ -122,4 +122,10 @@ CommandLineParser::CommandLineParser() QLatin1String("Use the specified platform plugin."), QLatin1String("plugin"))); m_parser.addPositionalArgument(QLatin1String(CommandLineOptions::KeyValue), QLatin1String("Key Value pair to be set.")); + m_parser.addOption(QCommandLineOption(QLatin1String(CommandLineOptions::SquishPort), + QLatin1String("Give a port where Squish can connect to. If no port is given, default " + "port 11233 is used. Note: To enable Squish support you first need to build IFW with " + "SQUISH_PATH parameter where SQUISH_PATH is pointing to your Squish installation folder: " + "<path_to_qt>/bin/qmake -r SQUISH_PATH=<pat_to_squish>"), + QLatin1String("port number"))); } |