From ec37972682dca1131cdf79a2ef341268fd2fe1a4 Mon Sep 17 00:00:00 2001
From: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Date: Thu, 12 Apr 2012 16:03:31 +0200
Subject: [PATCH] permit slashes in braced qmake identifiers

this permits referencing qt 5 FOO/raw properties

Change-Id: Ib6c65b9975eb74466dbf38d0b932caac9b392b7a
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
---
 src/shared/proparser/profileparser.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/shared/proparser/profileparser.cpp b/src/shared/proparser/profileparser.cpp
index c1aae00d7ec..f9dc5759677 100644
--- a/src/shared/proparser/profileparser.cpp
+++ b/src/shared/proparser/profileparser.cpp
@@ -461,7 +461,7 @@ bool ProFileParser::read(ProFile *pro, const QString &in)
                         rtok = tok;
                         while ((c & 0xFF00) || c == '.' || c == '_' ||
                                (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') ||
-                               (c >= '0' && c <= '9')) {
+                               (c >= '0' && c <= '9') || (c == '/' && term)) {
                             *ptr++ = c;
                             if (++cur == end) {
                                 c = 0;
-- 
GitLab