From 740838f7939d9284c0aabbf1ea30df77f2eec5df Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 1 Jan 2018 12:01:04 +0100 Subject: [PATCH] Rakefile: Qt: fix building the `qt_resources.qrc` file --- rake.d/target.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rake.d/target.rb b/rake.d/target.rb index 587c069c7..d4661552b 100644 --- a/rake.d/target.rb +++ b/rake.d/target.rb @@ -110,6 +110,8 @@ class Target extra_dependencies.each { |file_name, ui_hs| file file_name => ui_hs } + cpp_files << "src/#{subdir}/qt_resources.cpp" if FileTest.exists?("src/#{subdir}/qt_resources.qrc") + self. sources(ui_files). sources(qobject_h_files.collect { |h| h.ext 'moc' }).