-
Bug
-
Resolution: Fixed
-
P4: Low
-
4.3.0
-
None
-
6f3adbb0d (dev)
lupdate has a parsing issue with variables called tr even in non-QObject classes.
$ cat main.cpp struct Bar { bool tr; }; int main() { Bar *b = new Bar; b->tr = true; return 0; } $ lupdate main.cpp /tmp/lupdatebug/main.cpp:7: Cannot invoke tr() like this
For Gerrit Dashboard: QTBUG-798 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
620898,5 | lupdate: check more stricly before warning for invalid tr calls | dev | qt/qttools | Status: MERGED | +2 | 0 |