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

QJSValue misbehaves on android

XMLWordPrintable

    • Android
    • 73f1fa8a8ec53d9ebb4a052a1f109e54cd834a87

      QJSValue misbehaves on android, I can't explain it.
      The following code:

      QJSValue jsv = mEngine->newObject();
      jsv.setProperty("name", "John");
      auto temp = jsv.property("name").toString();
      qDebug() << temp;

      prints: "1.0985603458179353e+58"

      If I create a simple "hello world" project with the same kit and run it on the same phone, it prints "John" as you would expect.

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

            qtqmlteam Qt Qml Team User
            daniel_mcinnes Daniel McInnes
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes