Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. [Solved] Windows phone 8.1 and LocalStorage
Forum Updated to NodeBB v4.3 + New Features

[Solved] Windows phone 8.1 and LocalStorage

Scheduled Pinned Locked Moved Mobile and Embedded
6 Posts 2 Posters 2.9k 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.
  • C Offline
    C Offline
    coursar
    wrote on last edited by
    #1

    I'm trying to use LocalStorage for Windows Phone emulator but got a error:
    @QSqlDatabase: QSQLITE driver not loaded
    QSqlDatabase: available drivers:
    QSqlQuery::prepare: database not open
    qrc:///qml/Db.js:12: Error: Driver not loaded Driver not loaded@

    In Qt source code SQLITE support disabled:
    @if (dictionary.value("XQMAKESPEC").startsWith("winphone")) dictionary[ "SQL_SQLITE" ] = "no"; @

    See "link with comments":https://qt.gitorious.org/qt/qtbase/commit/2102f7ac7c1a8a2959042e7c0d8815cb5f267661?diffmode=sidebyside

    In bugtracker exists "bug":https://bugreports.qt-project.org/browse/QTBUG-37770 with SQLITE support in WinPhone 8.1.

    Any ideas about localstorage alternative on Windows Phone?

    1 Reply Last reply
    0
    • C Offline
      C Offline
      coursar
      wrote on last edited by
      #2

      Solution: you can simply compile the patch from https://bugreports.qt.io/browse/QTBUG-37770

      Tested both on emulator VS2012/VS2013, winphone devices (WP8.0, WP8.1) VS2012/VS2013.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        alexleutgoeb
        wrote on last edited by
        #3

        Coursar, I'm currently trying to work around the same issue, are you sure you referenced the correct issue (I can't find any patches in there)?

        Thanks,
        Alex

        1 Reply Last reply
        0
        • A Offline
          A Offline
          alexleutgoeb
          wrote on last edited by
          #4

          Coursar, I'm currently trying to work around the same issue, are you sure you referenced the correct issue (I can't find any patches in there)?

          Thanks,
          Alex

          1 Reply Last reply
          0
          • C Offline
            C Offline
            coursar
            wrote on last edited by
            #5

            https://bugreports.qt.io/browse/QTBUG-37770

            1 Reply Last reply
            0
            • C Offline
              C Offline
              coursar
              wrote on last edited by
              #6

              https://bugreports.qt.io/browse/QTBUG-37770

              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