WebAssembly: Drop run config inheritance from CustomExecutable

Also, auto-detect free port.

Change-Id: I377956ef20a928f1877d702162792e7cae75a202
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
hjk
2019-08-01 17:57:52 +02:00
parent b6a5de1bb0
commit 399f8d2dff
7 changed files with 100 additions and 83 deletions

View File

@@ -25,15 +25,14 @@
#pragma once
#include <projectexplorer/devicesupport/idevice.h>
#include <projectexplorer/devicesupport/idevicefactory.h>
#include <projectexplorer/devicesupport/desktopdevice.h>
#include <QCoreApplication>
namespace WebAssembly {
namespace Internal {
class WebAssemblyDevice : public ProjectExplorer::IDevice
class WebAssemblyDevice : public ProjectExplorer::DesktopDevice
{
Q_DECLARE_TR_FUNCTIONS(WebAssembly::Internal::WebAssemblyDevice)
@@ -42,9 +41,6 @@ public:
Utils::OsType osType() const override;
ProjectExplorer::IDeviceWidget *createWidget() override;
ProjectExplorer::DeviceProcessSignalOperation::Ptr signalOperation() const override;
private:
WebAssemblyDevice();
};