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

QML local storage not usable anymore from pure .js files

    XMLWordPrintable

Details

    Description

      In order to use QML local storage in QtQuick 2.0, the QtQuick.LocalStorage 2.0 modlue has to be imported, as described here: http://doc.qt.nokia.com/qt5-snapshot/qml-localstorage.html
      That should be fine if JavaScript functions inside a .qml file use local storage.

      I did however not find a way to use local storage from within .js files. Perhaps there is a way to use it from .js which should be documented, or it is simply not possible anymore in QtQuick 2.0. That would mean that we made porting from QtQuick 1.x more difficult.

      Attachments

        Issue Links

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

          Activity

            People

              charles Charles Yin (closed Nokia identity) (Inactive)
              portale Alessandro Portale
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes