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] Correct database which works both android and windows..
QtWS25 Last Chance

[SOLVED] Correct database which works both android and windows..

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 2 Posters 1.4k Views
  • 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.
  • M Offline
    M Offline
    muzo
    wrote on last edited by
    #1

    Im wrinting an app and i want it works both android and windows. I was an native android developer and i used SQLite for native android development. Native API has an helper class for SQLite and it was easy. However, now i couldn't decide the database type. My prior database is SQLite again but may u can advice something else. Is there any helper class or smt.(which creates databases, creating tables etc.) for SQLite both windows and android?

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      SQLite is bundled with every copy of Qt, and it's the default option for QtSql module. If it's enough for you, you can use it on all platforms.

      (Z(:^

      1 Reply Last reply
      0
      • M Offline
        M Offline
        muzo
        wrote on last edited by
        #3

        thx for answer.. SQLite is OK for me but when i try to use QSqlDatabase class im getting Link2019 error.. What do i have to do?

        NOTE: im working on Qt Quick project.. When i try this class on QT Gui application, i get no error if i add "Qt += sql" to pro file and it worked.. What is the difference between Qt Quick and Qt Gui

        1 Reply Last reply
        0
        • M Offline
          M Offline
          muzo
          wrote on last edited by
          #4

          Sorry i was my fault.. There is no difference it worked :)

          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