forked from qt-creator/qt-creator
Added debugging mode for simultaneous QML and C++ debugging
It's not yet possible to attach to an external app running a qml debugging server, because the server is only started on startup if an env variable is set. Changing this requires action from Brisbane, but even the current solution works for C++ apps with QML in them. Task-number: BAUHAUS-585 Reviewed-by: dt
This commit is contained in:
@@ -48,8 +48,6 @@ namespace ProjectExplorer {
|
||||
namespace Qml {
|
||||
class QmlInspector;
|
||||
|
||||
const int MaxConnectionAttempts = 20;
|
||||
|
||||
class QmlInspectorPlugin : public ExtensionSystem::IPlugin
|
||||
{
|
||||
Q_OBJECT
|
||||
@@ -67,15 +65,12 @@ public slots:
|
||||
void setDockWidgetArrangement(const QString &activeLanguage);
|
||||
|
||||
private slots:
|
||||
void pollInspector();
|
||||
void prepareDebugger(Core::IMode *mode);
|
||||
|
||||
private:
|
||||
QmlInspector *m_inspector;
|
||||
QTimer *m_connectionTimer;
|
||||
int m_connectionAttempts;
|
||||
};
|
||||
|
||||
}
|
||||
} // Qml
|
||||
|
||||
#endif // QMLINSPECTORPLUGIN_H
|
||||
|
||||
Reference in New Issue
Block a user