mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 20:50:34 +01:00
more precise Log-Text for search of "qet_tb_generator" to avoid misunderstandings
This commit is contained in:
@@ -2387,10 +2387,15 @@ void QETDiagramEditor::generateTerminalBlock()
|
|||||||
|
|
||||||
if (openedProjects().count()) {
|
if (openedProjects().count()) {
|
||||||
foreach(QString exe, exeList) {
|
foreach(QString exe, exeList) {
|
||||||
qInfo() << " success so far: " << success << " - now searching for " << exe;
|
|
||||||
if ((success == false) && exe.length() && QFile::exists(exe)) {
|
if ((success == false) && exe.length() && QFile::exists(exe)) {
|
||||||
success = process->startDetached(exe, {(QETDiagramEditor::currentProjectView()->project()->filePath())});
|
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 {
|
} else {
|
||||||
qInfo() << "No project loaded - no need to start \"qet_tb_generator\"";
|
qInfo() << "No project loaded - no need to start \"qet_tb_generator\"";
|
||||||
|
|||||||
Reference in New Issue
Block a user