Results 1 to 2 of 2

Thread: SQLITE as sql server

  1. #1
    Join Date
    Mar 2008
    Posts
    6
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Question SQLITE as sql server

    Hi

    Been searching the forums, doc and all mighty Google for 3 days straight but can't seem to get this answer, so I turn to you guys n gals for answer.

    Overview:
    I want "APPLICATION A" to act as an admin application and hold the SQLITE database.
    I want "APPLICATION B" to act as a client application and connect to the database in "APPLICATION A".

    is this possible with SQLITE?

    I do not want to have a 3rd application like a standalone SQL server (read MySQL), mainly want the APPLICATION A to act as both the SQL server and admin application.

    Answer appreciated a lot!
    // Aji

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: SQLITE as sql server

    Sure it is possible. Application A will have to expose some way for a client to connect (TCP socket and some authentication probably) and proxy requests to the Qt Sqlite driver. The client will have to have a corresponding set of code to manage a connection to your custom server. You could write the code to plug your client-side code into the Qt SQL driver structure, which will minimise the impact on client code.

Similar Threads

  1. SQLite with Qt4
    By MIH1406 in forum Newbie
    Replies: 6
    Last Post: 15th September 2009, 04:47
  2. Replies: 5
    Last Post: 2nd June 2009, 19:47
  3. xml + sqlite
    By eleanor in forum Qt Programming
    Replies: 1
    Last Post: 7th May 2009, 17:06
  4. SQLite
    By cyberboy in forum Installation and Deployment
    Replies: 1
    Last Post: 15th April 2008, 19:46
  5. Qt with SQLite help please
    By munna in forum Newbie
    Replies: 6
    Last Post: 11th July 2006, 14:12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.