From 22d3eeebb0a011a61104de2eb635a3ecf26b58e2 Mon Sep 17 00:00:00 2001 From: Alexander Volkov Date: Wed, 21 Feb 2018 14:33:29 +0300 Subject: 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 --- mkspecs/features/qt_example_installs.prf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3