Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
Alexander Volkov committed Feb 22, 2018
1 parent c213dfa commit 1c1ec43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mkspecs/features/qt_example_installs.prf
Expand Up @@ -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)
Expand Down

0 comments on commit 1c1ec43

Please sign in to comment.