Hello, after reading your comments and performed multiple tests I solved it using the class QtConcurrent
I called a slot from html/js which contains the start of the process where the loop is executed
Solt Call method with process lancheur QtConcurrent
void EngineIndexHtml::execLauncherBackupJob(QJsonObject jsonParameter)
{
extern void execLauncherJob(EngineIndexHtml * EngineHtmlObj, QJsonObject jsonParameter);
QtConcurrent::run(execLauncherJob, this, jsonParameter);
}
Part of method execLauncherJob where EngineHtmlObj is mother class where there is declare signal
for (int i = 0; i < arrayDataRowLauncher.size(); i++) {
. . . .
emit EngineHtmlObj->elabCheckStatusLauncher(jsonObjectDataRowLauncher);
goLauncher(jsonObjectDataRowLauncher, strOriginFolder, startThread, endThread, iCoreIndex);
. . . .
}
Now is all ok.
Thanks to everyone who supported me and put up with me