Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

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

    Mobile and Embedded
    2
    4
    1105
    Loading More Posts
    • 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
      muzo last edited by

      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 Reply Quote 0
      • sierdzio
        sierdzio Moderators last edited by

        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 Reply Quote 0
        • M
          muzo last edited by

          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 Reply Quote 0
          • M
            muzo last edited by

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

            1 Reply Last reply Reply Quote 0
            • First post
              Last post