summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/qt_example_installs.prf
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-21 16:32:49 +0000
commit22d3eeebb0a011a61104de2eb635a3ecf26b58e2 (patch)
tree66fd3f04cb4e8c12ea499c2824daa9d78ccccb96 /mkspecs/features/qt_example_installs.prf
parent2acfc48de57162a0cedd14c66b8ea7e5fccb7c0d (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>
Diffstat (limited to 'mkspecs/features/qt_example_installs.prf')
-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)