ProjectExplorer: Add RunControl::setQmlChannel()

There's no working portsgatherer for Android yet, need a way
to fill it "the old way".

Change-Id: I5cd7dfa6a1a31a2cbcb41af0914d7b7d82c9c94e
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2024-10-29 15:27:14 +01:00
parent 089e1b0d2d
commit 62dff704c8
2 changed files with 7 additions and 0 deletions

View File

@@ -688,6 +688,11 @@ QUrl RunControl::qmlChannel() const
return d->qmlChannel;
}
void RunControl::setQmlChannel(const QUrl &channel)
{
d->qmlChannel = channel;
}
void RunControl::requestPerfChannel()
{
d->enablePortsGatherer();

View File

@@ -253,6 +253,8 @@ public:
void requestQmlChannel();
bool usesQmlChannel() const;
QUrl qmlChannel() const;
// FIXME: Don't use. Convert existing users to portsgatherer.
void setQmlChannel(const QUrl &channel);
void requestPerfChannel();
bool usesPerfChannel() const;