Commit 692845ae authored by Eike Ziller's avatar Eike Ziller

Android: Do not create temporary files in CWD

Change-Id: I52c575b43406c0a1a758c540e8d0947f51eca11b
Task-number: QTCREATORBUG-12813
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent b1539cc8
......@@ -41,6 +41,7 @@
#include <qtsupport/qtkitinformation.h>
#include <utils/qtcassert.h>
#include <QDir>
#include <QTime>
#include <QtConcurrentRun>
#include <QTemporaryFile>
......@@ -298,7 +299,7 @@ void AndroidRunner::asyncStart()
// Handling ping.
for (int i = 0; ; ++i) {
QTemporaryFile tmp(_("pingpong"));
QTemporaryFile tmp(QDir::tempPath() + _("/pingpong"));
tmp.open();
tmp.close();
......@@ -330,7 +331,7 @@ void AndroidRunner::asyncStart()
void AndroidRunner::handleRemoteDebuggerRunning()
{
if (m_useCppDebugger) {
QTemporaryFile tmp(_("pingpong"));
QTemporaryFile tmp(QDir::tempPath() + _("/pingpong"));
tmp.open();
QProcess process;
......
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