summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/arthur/common/baselineprotocol.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/arthur/common/baselineprotocol.cpp b/tests/arthur/common/baselineprotocol.cpp
index 7996fff..34d1a04 100644
--- a/tests/arthur/common/baselineprotocol.cpp
+++ b/tests/arthur/common/baselineprotocol.cpp
@@ -141,7 +141,9 @@ bool BaselineProtocol::connect()
{
errMsg.clear();
//###TBD: determine server address; for now local devhost
- QLatin1String serverName("chimera.europe.nokia.com");
+ QByteArray serverName(qgetenv("QT_LANCELOT_SERVER"));
+ if (serverName.isNull())
+ serverName = "chimera.europe.nokia.com";
socket.connectToHost(serverName, ServerPort);