diff options
author | Alexander Volkov <a.volkov@rusbitech.ru> | 2018-02-21 14:33:29 +0300 |
---|---|---|
committer | Alexander Volkov <a.volkov@rusbitech.ru> | 2018-02-22 19:23:37 +0000 |
commit | 1c1ec4337304c395c5798e6ac0ebaa74c41d1936 (patch) | |
tree | fb2f510d94b390735547cf11d5221bb62af12b4a | |
parent | c213dfac5335310bd550836223d47100875fe2bc (diff) |
fix installation of resources for example sources
contains() interprets the regexp as being implicitly
anchored, so the leading part of the path needs to be
explicitly matched.
Change-Id: I1efa07dc99bb2db1717d2a66621899e23c144164
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
(cherry picked from commit 22d3eeebb0a011a61104de2eb635a3ecf26b58e2)
-rw-r--r-- | mkspecs/features/qt_example_installs.prf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/features/qt_example_installs.prf b/mkspecs/features/qt_example_installs.prf index c9ce926b1a..43b58817fe 100644 --- a/mkspecs/features/qt_example_installs.prf +++ b/mkspecs/features/qt_example_installs.prf @@ -44,7 +44,7 @@ contains(TEMPLATE, .*app): \ for(ex, EXAMPLE_FILES): \ sourcefiles += $$files($$absolute_path($$ex, $$_PRO_FILE_PWD_)) for(res, RESOURCES) { - !contains(res, \\.qrc$): \ + !contains(res, .*\\.qrc): \ next() rfile = $$absolute_path($$res, $$_PRO_FILE_PWD_) rpath = $$dirname(rfile) |