forked from qt-creator/qt-creator
QmlProject: Allow different QML viewers per project
Change-Id: I7ca136fe1cf51b8335a15b1b2b7ea838e4859f78 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
#include "qmlprojectmanager_global.h"
|
||||
|
||||
#include <projectexplorer/runconfiguration.h>
|
||||
#include <projectexplorer/runconfigurationaspects.h>
|
||||
|
||||
namespace Core { class IEditor; }
|
||||
|
||||
@@ -62,6 +63,7 @@ public:
|
||||
QVariantMap toMap() const override;
|
||||
|
||||
ProjectExplorer::Abi abi() const override;
|
||||
ProjectExplorer::BaseStringAspect *qmlViewerAspect() const { return m_qmlViewerAspect; }
|
||||
|
||||
signals:
|
||||
void scriptSourceChanged();
|
||||
@@ -82,6 +84,7 @@ private:
|
||||
|
||||
QString m_scriptFile;
|
||||
QString m_qmlViewerArgs;
|
||||
ProjectExplorer::BaseStringAspect *m_qmlViewerAspect;
|
||||
};
|
||||
|
||||
namespace Internal {
|
||||
|
||||
Reference in New Issue
Block a user