QmlDesigner: add QMLPuppet path information

Works as a reminder in debuggen environments so the developer
does not debug the wrong process.

Change-Id: I1ae2c651c34f9a8df4b85efc662187127738bb0b
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Tim Jenßen
2025-05-14 14:47:21 +02:00
committed by Tim Jenssen
parent 223eef850c
commit 8a17e0494e
2 changed files with 3 additions and 3 deletions

View File

@@ -49,7 +49,7 @@ void ConnectionManager::setUp(NodeInstanceServerInterface *nodeInstanceServerPro
processFinished(exitCode, exitStatus, connection.name);
});
}
qDebug() << "Start QMLPuppets from: " << m_connections.at(0).qmlPuppetProcess.get()->program();
const int second = 1000;
for (Connection &connection : m_connections) {
int waitConstant = 8 * second;

View File

@@ -56,8 +56,8 @@ QProcessUniquePointer puppetProcess(const QString &puppetPath,
QMessageBox::information(
nullptr,
Tr::tr("Puppet is starting..."),
Tr::tr("You can now attach your debugger to the %1 QML Puppet with process id: %2.")
.arg(puppetMode, QString::number(puppetProcess->processId())));
Tr::tr("You can now attach your debugger to the %1(%2) QML Puppet with process id: %3.")
.arg(puppetMode, puppetPath, QString::number(puppetProcess->processId())));
}
return puppetProcess;