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. Database syncing
Forum Update on Tuesday, May 27th 2025

Database syncing

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 1.6k Views 2 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.
  • M Offline
    M Offline
    MartinD
    wrote on last edited by
    #1

    Hi,
    we have central server and several client applications with their database. Client's apps can run offline and when they go online their database should sync with central server. Our database is relational.

    Are there some tools suitable to for syncing databases in Qt app?

    mrjjM 1 Reply Last reply
    0
    • M MartinD

      Hi,
      we have central server and several client applications with their database. Client's apps can run offline and when they go online their database should sync with central server. Our database is relational.

      Are there some tools suitable to for syncing databases in Qt app?

      mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @MartinD
      Hi
      I dont think there is. At least not mentioned in the docs.
      http://doc.qt.io/qt-5/qtsql-module.html

      Is it 2 way sync or just getting a new db when online?

      1 Reply Last reply
      2
      • VRoninV Offline
        VRoninV Offline
        VRonin
        wrote on last edited by
        #3

        What DB are we talking about? if it's SQLite, it's just about sending a file over the network. FTP, HTTP or raw TCP works.
        if the DB is more complex (MS SQL, MySQL, Postgre) then you have to use a proprietary "protocol". For example, for Postgre: https://www.postgresql.org/about/news/1579/

        "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
        ~Napoleon Bonaparte

        On a crusade to banish setIndexWidget() from the holy land of Qt

        1 Reply Last reply
        4

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved