Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QtQuick.LocalStorage Problem (BUG ?) on Android

QtQuick.LocalStorage Problem (BUG ?) on Android

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 996 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SteveG
    wrote on last edited by
    #1

    I have a QML file called SSS.qml defined as a singleton (via pragma Singleton and a corresponding qmldir file) that uses QtQuick.LocalStorage 2.0 and it's used in another QML file called XXX.qml. The app runs perfectly as a windows desktop application but generates the following message when deployed to Android.
    @
    module "QtQuick.LocalStorage" plugin "qmllocalstorageplugin" not found
    @

    I don't know if it's relevant, but there are qmllocalstorageplugin.dll files available for windows apps but there's no qmllocalstorageplugin.so for Android apps.

    When I change SSS.qml to a "regular" (i.e., non-singleton) type and change XXX.qml appropriately, the app runs when deployed to Android.

    Is this a Qt bug or do I need to do something special (e.g., in my .pro file)?

    1 Reply Last reply
    0
    • N Offline
      N Offline
      Nayar
      wrote on last edited by
      #2

      I'm having the same problem here. No idea how to solve this

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved