mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-07 10:02:24 +02:00
Eliminate silly gcc warnings.
This commit is contained in:
parent
7a957d829c
commit
e9ffa05b4b
1 changed files with 6 additions and 0 deletions
|
@ -79,6 +79,7 @@ void TestRunnerMobile::setWorkingFolderAndEnableControls() {
|
|||
}
|
||||
|
||||
void TestRunnerMobile::connectDevice() {
|
||||
#if defined Q_OS_WIN or defined Q_OS_MAC
|
||||
QString devicesFullFilename{ _workingFolder + "/devices.txt" };
|
||||
QString command = _adbCommand + " devices > " + devicesFullFilename;
|
||||
system(command.toStdString().c_str());
|
||||
|
@ -108,6 +109,7 @@ void TestRunnerMobile::connectDevice() {
|
|||
_downloadAPKPushbutton->setEnabled(true);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void TestRunnerMobile::downloadAPK() {
|
||||
|
@ -152,15 +154,19 @@ void TestRunnerMobile::downloadComplete() {
|
|||
}
|
||||
|
||||
void TestRunnerMobile::installAPK() {
|
||||
#if defined Q_OS_WIN or defined Q_OS_MAC
|
||||
_statusLabel->setText("Installing");
|
||||
QString command = _adbCommand + " install -r -d " + _workingFolder + "/" + _installerFilename + " >" + _workingFolder + "/installOutput.txt";
|
||||
system(command.toStdString().c_str());
|
||||
_statusLabel->setText("Installation complete");
|
||||
#endif
|
||||
}
|
||||
|
||||
void TestRunnerMobile::pullFolder() {
|
||||
#if defined Q_OS_WIN or defined Q_OS_MAC
|
||||
_statusLabel->setText("Pulling folder");
|
||||
QString command = _adbCommand + " pull " + _folderLineEdit->text() + " " + _workingFolder + _installerFilename;
|
||||
system(command.toStdString().c_str());
|
||||
_statusLabel->setText("Pull complete");
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue