Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-45364

Javascript methods work wrong with qtquickcompiler in qml

    XMLWordPrintable

Details

    Description

      I have javascript function defined in qml, i.e.

      function test(dim)

      { console.log(dim); }

      I noticed, that when i will build my Android app on Mac with qtquickcompiler turned on, then when i pass to this function negative argument i.e. test(-20), then instead of -20 function receives "undefined" as parameter.

      It only occurs when app is built on Mac, when it is built on Linux, everything works okay.

      Test app in attachment.

      Attachments

        1. Bugg.zip
          4 kB
          Robert

        Issue Links

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

          Activity

            People

              erikv Erik Verbruggen
              bercik Robert
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes