forked from qt-creator/qt-creator
QmlDesigner: Always try to open in design mode if qmlproject is opened
If there is no ui.qml file then fallback to .qml. Change to design mode in any case if a file was opened. Task-number: QDS-9460 Change-Id: I619292019105f488ff33e6e5ed4294b36eb2627c Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -150,7 +150,8 @@ protected:
|
||||
|
||||
private:
|
||||
ProjectExplorer::DeploymentKnowledge deploymentKnowledge() const override;
|
||||
Utils::FilePaths getUiQmlFilesForFolder(const Utils::FilePath &folder);
|
||||
Utils::FilePaths collectUiQmlFilesForFolder(const Utils::FilePath &folder) const;
|
||||
Utils::FilePaths collectQmlFiles() const;
|
||||
|
||||
QMetaObject::Connection m_openFileConnection;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user