diff options
author | Miguel Costa <miguel.costa@qt.io> | 2019-02-04 16:31:46 +0100 |
---|---|---|
committer | Miguel Costa <miguel.costa@qt.io> | 2019-02-08 13:12:58 +0000 |
commit | 31cf36b0543c32b186ff54df908c4dd7abbbe228 (patch) | |
tree | c4a797a1679689bb2b7b751bdc692843fbaf5e0f | |
parent | dfd197d841155c24f13c059238f7dd9310f9a66c (diff) |
Create directory for QRC output of Qt Quick Compiler
Will now create the directory structure specified for the output of
filtered QRC files generated by the Qt Quick Compiler, in case that
structure does not yet exist. Previously, build would fail if the output
directory was not found.
Task-number: QTVSADDINBUG-611
Change-Id: I30e2e9cc8aae6ec7798fb72922917b0db20bad2e
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
-rw-r--r-- | src/qtmsbuild/qtqml.targets | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qtmsbuild/qtqml.targets b/src/qtmsbuild/qtqml.targets index 348454a5..94d36cf7 100644 --- a/src/qtmsbuild/qtqml.targets +++ b/src/qtmsbuild/qtqml.targets @@ -332,6 +332,7 @@ /////////////////////////////////////////////////////////////////////////////////////////////// // Update timestamp of generated QRC file to force rcc target to run // --> + <MakeDir Directories="$([System.IO.Path]::GetDirectoryName(%(QtRccFilter.OutputFile)))"/> <Touch Condition="'%(QtRccFilter.InputChanged)' == 'true'" AlwaysCreate="true" Files="%(QtRccFilter.OutputFile)"/> |