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. [solved] Cross-platform Database
Forum Updated to NodeBB v4.3 + New Features

[solved] Cross-platform Database

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.7k 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.
  • G Offline
    G Offline
    georgesKh
    wrote on last edited by
    #1

    Hello , I'm currently working on a cross-platform GUI for windows and MAC and I need to integrate a database.
    sqlite3 looks like the right candidate for a cross-platform application , I'm looking for a way to package the database with my application setup for a silent installation for windows, or any other way that won't require the user to manually download the sqlite3 database.
    So I could later on do the same with the Mac bundle.

    Any suggestions are welcomed since I haven't got a clue about how this is done.

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

      you can find the required libraries in your [Qt directory]/plugins/sqldrivers/

      qsqlite4.dll and qsqlite4d.dll should be there (for windows)

      all you need to do is to copy what you need and create a folder inside your "application" directory and name it "sqldrivers", then put the libraries (dll files,etc) in that folder

      Please visit my open-source projects at https://github.com/Code-ReaQtor.

      1 Reply Last reply
      0
      • G Offline
        G Offline
        georgesKh
        wrote on last edited by
        #3

        Thank you, really appreciate your help!

        1 Reply Last reply
        0
        • C Offline
          C Offline
          Code_ReaQtor
          wrote on last edited by
          #4

          [quote author="georgesKh" date="1352277217"]Thank you, really appreciate your help![/quote]

          You're welcome! Kindly mark this thread as [solved] so that other users may find it useful.

          Please visit my open-source projects at https://github.com/Code-ReaQtor.

          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