Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
QSR 2.1
-
None
Description
When running QSR in host, it does not allow bigger port number than 32767.
That is because of too small variable is reserved for the port:
const QString ipAddress = qEnvironmentVariable("QT_SAFERENDER_HOST"); const QString portStr = qEnvironmentVariable("QT_SAFERENDER_PORT"); bool ok = false; const qint16 port = portStr.toShort(&ok); if (ok) { m_port = port; } else { m_port = 32112; //This is the default used in test harness. }