https://bugs.kde.org/show_bug.cgi?id=366438

            Bug ID: 366438
           Summary: ListElement: cannot use script  for property value
           Product: frameworks-ki18n
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: caslav.i...@gmx.net
          Reporter: xiangzha...@gmail.com
                CC: kdelibs-b...@kde.org

Hi,

ListModel {
        id: testModel
        ListElement { name: qsTr("Leslie Zhai") }
    }

Before Qt5.4, the above testcase will cause the issue - ListElement: cannot use
script  for property value https://bugreports.qt.io/browse/QTBUG-16289

Qt developers fixed the issue and it works well for Qt 5.7!

but ListElement { name: i18n("Leslie Zhai") } will reproduce QTBUG-16289 again!

plasmoid testcase
https://github.com/xiangzhai/plasma-helloworld/blob/master/helloworld1/package/contents/ui/main.qml

I will tried to fix the issue in ki18n and kdeclarative ;-)

Regards,
Leslie Zhai

Reproducible: Always




ArchLinux

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to