Skip to content

Commit 588d1f5

Browse files
Be-ingahayzen-kdab
authored andcommitted
qt-build-utils: use QML module name in .qrc file name
This is required to link together multiple QML modules in one project without duplicate symbol errors.
1 parent 1a579a7 commit 588d1f5

File tree

1 file changed

+1
-1
lines changed
  • crates/qt-build-utils/src

1 file changed

+1
-1
lines changed

crates/qt-build-utils/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ prefer :/qt/qml/{qml_uri_dirs}/
636636
}
637637

638638
// Generate .qrc file and run rcc on it
639-
let qrc_path = format!("{qml_module_dir}/qml_module_resources.qrc");
639+
let qrc_path = format!("{qml_module_dir}/qml_module_resources_{qml_uri_underscores}.qrc");
640640
{
641641
fn qrc_file_line(file_path: &impl AsRef<Path>) -> String {
642642
let path_display = file_path.as_ref().display();

0 commit comments

Comments
 (0)