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

QML engine crashes when running MomentJS code

    XMLWordPrintable

    Details

      Description

      I have adapted the MomentJS [1] library to work inside the QML interpreter. However, it crashes very early when running. I attach the crash-log and the adapted library.

      [1] http://momentjs.com/

      Thanks a lot!

      PS. Question to V4 engineers: are there any plans to make QML ECMAScript compliant, so external libraries can run un-changed? It would be so awesome to be able to reuse JS libraries without this kind of effort, which it seems I am not the only one doing (https://github.com/jnetterf/underscore-qml).

        Attachments

        1. moment.js
          90 kB
        2. MomentJSCrash.crash
          49 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            erikv Erik Verbruggen
            Reporter:
            raskolnikov Juan Pedro Bolivar Puente
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes