Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.3.2
-
0b356c32ab517bad0e7801ceab1ea9d99a9d259e
Description
For this code:
Item {
property string value: QT_TR_NOOP("my text")
Text {
text: qsTr(value)
}
}
This error is generated:
main.qml:12: qsTr(): text to translate must be a literal string.
This should be possible according to documentation:
http://qt-project.org/doc/qt-5/qtquick-internationalization.html#7-use-qt-tr-noop-for-translatable-data-text-strings
Attachments
For Gerrit Dashboard: QTBUG-42381 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
108173,5 | lupdate: Remove wrong error message | 5.5 | qt/qttools | Status: MERGED | +2 | 0 |