mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-09-13 20:23:04 +02:00
Merge pull request #341 from plc-user/master
more precise Log-Text for search of "qet_tb_generator"
This commit is contained in:
commit
af33719995
@ -2387,10 +2387,15 @@ void QETDiagramEditor::generateTerminalBlock()
|
||||
|
||||
if (openedProjects().count()) {
|
||||
foreach(QString exe, exeList) {
|
||||
qInfo() << " success so far: " << success << " - now searching for " << exe;
|
||||
if ((success == false) && exe.length() && QFile::exists(exe)) {
|
||||
success = process->startDetached(exe, {(QETDiagramEditor::currentProjectView()->project()->filePath())});
|
||||
}
|
||||
if (success == true) {
|
||||
qInfo() << " qet_tb_generator found here:" << exe;
|
||||
break;
|
||||
} else {
|
||||
qInfo() << " qet_tb_generator not found :" << exe;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
qInfo() << "No project loaded - no need to start \"qet_tb_generator\"";
|
||||
|
Loading…
x
Reference in New Issue
Block a user