forked from qt-creator/qt-creator
Qnx: Further delay configuration restoring
For toolchains-on-device scenarios we need the devices. Change-Id: I83547b8c342c87c1c83ed432432f8d151d7e3f1d Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
#include <extensionsystem/iplugin.h>
|
||||
|
||||
#include <projectexplorer/devicesupport/devicecheckbuildstep.h>
|
||||
#include <projectexplorer/devicesupport/devicemanager.h>
|
||||
#include <projectexplorer/deployconfiguration.h>
|
||||
#include <projectexplorer/kitinformation.h>
|
||||
#include <projectexplorer/projectexplorer.h>
|
||||
@@ -122,8 +123,9 @@ private:
|
||||
|
||||
void QnxPlugin::extensionsInitialized()
|
||||
{
|
||||
// Can't do in init as not all devices are around.
|
||||
d->configurationManager.restoreConfigurations();
|
||||
// Can't do yet as not all devices are around.
|
||||
connect(DeviceManager::instance(), &DeviceManager::devicesLoaded,
|
||||
&d->configurationManager, &QnxConfigurationManager::restoreConfigurations);
|
||||
|
||||
// Attach support
|
||||
connect(&d->m_attachToQnxApplication, &QAction::triggered, this, &showAttachToProcessDialog);
|
||||
|
Reference in New Issue
Block a user