forked from qt-creator/qt-creator
Static Build: make sure the .qrc files have unique names
resources.qrc was present in multiple plugins and Q_INIT_RESOURCE requires an unique name to proper initialize the resource. Change-Id: I2d514ab4b8cc41655009996f28aadca9c454d818 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -137,7 +137,7 @@ add_qtc_library(Modeling
|
||||
qmt/model_widgets_ui/propertiesviewmview.cpp qmt/model_widgets_ui/propertiesviewmview.h
|
||||
qmt/project_controller/projectcontroller.cpp qmt/project_controller/projectcontroller.h
|
||||
qmt/project/project.cpp qmt/project/project.h
|
||||
qmt/resources/resources.qrc
|
||||
qmt/resources/resources_modelinglib.qrc
|
||||
qmt/serializer/diagramserializer.cpp qmt/serializer/diagramserializer.h
|
||||
qmt/serializer/infrastructureserializer.cpp qmt/serializer/infrastructureserializer.h
|
||||
qmt/serializer/modelserializer.cpp qmt/serializer/modelserializer.h
|
||||
|
||||
@@ -354,7 +354,7 @@ QtcLibrary {
|
||||
name: "Images"
|
||||
prefix: "./qmt/resources/"
|
||||
files: [
|
||||
"resources.qrc",
|
||||
"resources_modelinglib.qrc",
|
||||
"25x25/align-bottom.png",
|
||||
"25x25/align-horizontal.png",
|
||||
"25x25/align-left.png",
|
||||
|
||||
@@ -18,5 +18,5 @@ add_qtc_library(QmlEditorWidgets
|
||||
gradientline.cpp gradientline.h
|
||||
huecontrol.cpp huecontrol.h
|
||||
qmleditorwidgets_global.h
|
||||
resources.qrc
|
||||
resources_qmleditorwidgets.qrc
|
||||
)
|
||||
|
||||
@@ -29,7 +29,7 @@ QtcLibrary {
|
||||
"gradientline.cpp", "gradientline.h",
|
||||
"huecontrol.cpp", "huecontrol.h",
|
||||
"qmleditorwidgets_global.h",
|
||||
"resources.qrc"
|
||||
"resources_qmleditorwidgets.qrc"
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
@@ -83,7 +83,7 @@ add_qtc_plugin(MesonProjectManager
|
||||
machinefiles/machinefilemanager.cpp
|
||||
machinefiles/nativefilegenerator.h
|
||||
machinefiles/nativefilegenerator.cpp
|
||||
resources.qrc
|
||||
resources_meson.qrc
|
||||
)
|
||||
|
||||
file(RELATIVE_PATH RELATIVE_TEST_PATH "${PROJECT_BINARY_DIR}" "${CMAKE_CURRENT_BINARY_DIR}")
|
||||
|
||||
@@ -78,7 +78,7 @@ Project {
|
||||
"project/projecttree/mesonprojectnodes.h",
|
||||
"project/projecttree/projecttree.cpp",
|
||||
"project/projecttree/projecttree.h",
|
||||
"resources.qrc",
|
||||
"resources_meson.qrc",
|
||||
"settings/general/settings.cpp",
|
||||
"settings/general/settings.h",
|
||||
"settings/tools/kitaspect/mesontoolkitaspect.cpp",
|
||||
|
||||
@@ -325,7 +325,7 @@ extend_qtc_plugin(QmlDesigner
|
||||
|
||||
extend_qtc_plugin(QmlDesigner
|
||||
SOURCES_PREFIX components
|
||||
SOURCES resources/resources.qrc
|
||||
SOURCES resources/resources_qmldesigner_components.qrc
|
||||
)
|
||||
|
||||
extend_qtc_plugin(QmlDesigner
|
||||
|
||||
@@ -736,7 +736,7 @@ Project {
|
||||
"propertyeditor/qmlmodelnodeproxy.h",
|
||||
"propertyeditor/tooltip.cpp",
|
||||
"propertyeditor/tooltip.h",
|
||||
"resources/resources.qrc",
|
||||
"resources/resources_qmldesigner_components.qrc",
|
||||
"stateseditor/stateseditorimageprovider.cpp",
|
||||
"stateseditor/stateseditorimageprovider.h",
|
||||
"stateseditor/stateseditormodel.cpp",
|
||||
|
||||
Reference in New Issue
Block a user