Details

    • All

    Description

      When using built-in JavaScript functions with arguments (e.g. "toFixed()", "isNan()", ...) then then qmlint shows an efficient code generation warning:

      property real n: 10.2123
      
      Text {
       text: n.toFixed(1).toString()
      }
      
      :-1: error: MWBigNumberDoubleInputField.qml:3:10: Could not compile binding for text: Cannot generate efficient code for call to untyped JavaScript function
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtqmlteam Qt Qml Team User
            Harald Meyer Harald Meyer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes