summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Volkov <a.volkov@rusbitech.ru>2018-02-21 14:33:29 +0300
committerAlexander Volkov <a.volkov@rusbitech.ru>2018-02-22 19:23:37 +0000
commit1c1ec4337304c395c5798e6ac0ebaa74c41d1936 (patch)
treefb2f510d94b390735547cf11d5221bb62af12b4a
parentc213dfac5335310bd550836223d47100875fe2bc (diff)
downloadqtbase-1c1ec4337304c395c5798e6ac0ebaa74c41d1936.tar.gz
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.prf2
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)