From c0b2007d2002055f92f3c7dea2e5df55bd40b2c6 Mon Sep 17 00:00:00 2001 From: Katja Marttila Date: Fri, 12 Jan 2018 10:43:29 +0200 Subject: Enable building IFW with Squish support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 . If no port is set, default port 11233 is used to attach to Squish. Change-Id: I4821b360031df66968d3592886c2e45598e1b097 Reviewed-by: Iikka Eklund Reviewed-by: Antti Kokko Reviewed-by: Johanna Äijälä --- src/sdk/commandlineparser.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/sdk/commandlineparser.cpp') 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: " + "/bin/qmake -r SQUISH_PATH="), + QLatin1String("port number"))); } -- cgit v1.2.3