QmlDesigner: Rename Generate QRC Resource File -> Generate Deployable Package

This is a simpler less technical name and we plan to introduce
the design viewer officially in the near future.

Change-Id: I1e9491000f6618f8f04fa307116cd865ec6b04be
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
Thomas Hartmann
2022-04-13 10:54:17 +02:00
parent ac0697780e
commit 41daf979c5
2 changed files with 2 additions and 2 deletions

View File

@@ -67,7 +67,7 @@
\section1 Embedding Resources into Applications \section1 Embedding Resources into Applications
Alternatively, you can embedd the resources into your application by Alternatively, you can embedd the resources into your application by
selecting \uicontrol Build > \uicontrol {Generate RCC Resource File}. selecting \uicontrol Build > \uicontrol {Generate Deployable Package}.
Select the location for the .qmlrc file, and then select the files to Select the location for the .qmlrc file, and then select the files to
embedd in the \uicontrol {Add Resources} dialog. embedd in the \uicontrol {Add Resources} dialog.

View File

@@ -353,7 +353,7 @@ void GenerateResource::generateMenuEntry()
// ToDo: move this to QtCreator and add tr to the string then // ToDo: move this to QtCreator and add tr to the string then
auto rccAction = new QAction(QCoreApplication::translate("QmlDesigner::GenerateResource", auto rccAction = new QAction(QCoreApplication::translate("QmlDesigner::GenerateResource",
"Generate RCC Resource File")); "Generate Deployable Package"));
rccAction->setEnabled(ProjectExplorer::SessionManager::startupProject() != nullptr); rccAction->setEnabled(ProjectExplorer::SessionManager::startupProject() != nullptr);
QObject::connect(ProjectExplorer::SessionManager::instance(), QObject::connect(ProjectExplorer::SessionManager::instance(),
&ProjectExplorer::SessionManager::startupProjectChanged, [rccAction]() { &ProjectExplorer::SessionManager::startupProjectChanged, [rccAction]() {