forked from qt-creator/qt-creator
Implements previewing qml preview for a qmlproject
To run it requires either designpreview.apk installed on the device or apks placed in <QTCREATATORDIR>/share/qtcreator/android/qtdesignviewer/ Apk filename should follow designpreview_$ARCH.apk Task-number: QAA-512 Change-Id: Ida955b0fac519112d4623166677a7ba8e9afb1f4 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -537,6 +537,12 @@ QVariant QmlBuildSystem::additionalData(Id id) const
|
||||
return qtForMCUs();
|
||||
if (id == Constants::customQt6Project)
|
||||
return qt6Project();
|
||||
if (id == Constants::mainFilePath)
|
||||
return mainFilePath().toString();
|
||||
if (id == Constants::customImportPaths)
|
||||
return customImportPaths();
|
||||
if (id == Constants::canonicalProjectDir)
|
||||
return canonicalProjectDir().toString();
|
||||
return {};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user