Commit 98b0a11d authored by Eike Ziller's avatar Eike Ziller
Browse files

iOS: Keep iostool from stealing focus

This was triggered by fixing the iostool Info.plist in
339a8b61

Define QT_MAC_DISABLE_FOREGROUND_APPLICATION_TRANSFORM, similar to how it
was done for qml(2)puppet in f6303e67



Task-number: QTCREATORBUG-14837
Change-Id: Ia0dda338361900c519bbaaef225b6a613e928817
Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@theqtcompany.com>
parent 1992d0f2
......@@ -896,6 +896,8 @@ void IosTool::stopRelayServers(int errorCode)
int main(int argc, char *argv[])
{
//This keeps iostool from stealing focus
qputenv("QT_MAC_DISABLE_FOREGROUND_APPLICATION_TRANSFORM", "true");
// We do not pass the real arguments to QCoreApplication because this wrapper needs to be able
// to forward arguments like -qmljsdebugger=... that are filtered by QCoreApplication
QStringList args;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment