feat: standAloneLoading

This commit is contained in:
semenov
2024-08-21 14:50:06 +03:00
parent eadc50279e
commit 1e4e16971b
40 changed files with 1019 additions and 79 deletions

View File

@@ -1,5 +1,7 @@
#include "externalexecuter.h"
#include <QCoreApplication>
ExternalExecuter::ExternalExecuter()
{
@@ -13,12 +15,13 @@ ExternalExecuter::~ExternalExecuter()
void ExternalExecuter::CallApp()
{
QProcess myProcess(this);
QProcess *myProcess = new QProcess(this);
QStringList args;
args << "1";
myProcess.start(programPath,args);
myProcess.waitForFinished(-1);
myProcess->start(programPath,args);
myProcess->waitForFinished(3000);
QCoreApplication::exit();
}
bool ExternalExecuter::FindApp()