QmlProject: move/rename MainQmlFileAspect to QmlMainFileAspect

Will be used later in LocalQmlPreviewSupport so add also
export and dependencies in the build system files.

Change-Id: Ie5d26e7b89342c3ae3ff682a73194f240b71c21a
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Tim Jenssen
2020-01-06 14:48:51 +01:00
parent eef4a19125
commit 50a350f0a3
10 changed files with 373 additions and 270 deletions

View File

@@ -28,11 +28,13 @@
#include "qmlprojectmanager_global.h"
#include <projectexplorer/runconfiguration.h>
#include <projectexplorer/runconfigurationaspects.h>
namespace ProjectExplorer {
class BaseStringAspect;
}
namespace QmlProjectManager {
class MainQmlFileAspect;
class QmlMainFileAspect;
class QMLPROJECTMANAGER_EXPORT QmlProjectRunConfiguration : public ProjectExplorer::RunConfiguration
{
@@ -50,8 +52,8 @@ private:
Utils::FilePath qmlScenePath() const;
QString commandLineArguments() const;
ProjectExplorer::BaseStringAspect *m_qmlViewerAspect;
MainQmlFileAspect *m_mainQmlFileAspect;
ProjectExplorer::BaseStringAspect *m_qmlViewerAspect = nullptr;
QmlMainFileAspect *m_qmlMainFileAspect = nullptr;
};
namespace Internal {