Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
5.6.0, 5.6.1, 5.7.0
-
None
-
Ubuntu 14.04 (i686) and Ubuntu 16.06 (x64)
Description
How to reproduce. Create two plugins with similar classes (with same names and functions) and different QStringLiteral strings. After creating objects all strings in the second object will be replaced by strings from first. Attached example demonstrates this issue. It outputs:
"First Plugin"
"First Plugin"
but should output:
"First Plugin"
"Second Plugin"
Adding CONFIG -= c+11 to all .pro files resolves this issue but disables c+14 support. Unfortunately, uic generates code with QStringLiteral usage. So, I unable to resolve this issue by avoiding QStringLiteral in my code.