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. How to implement a simultaneous file editing?
Forum Updated to NodeBB v4.3 + New Features

How to implement a simultaneous file editing?

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 275 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.
  • K Offline
    K Offline
    KaanFresh
    wrote on last edited by
    #1

    Hey!

    I just started using Qt and playing with it currently. It is still a huge mystery box to me, so I spent most of my time in the documents but now I couldn't figure out where to look so I came here.

    I'm currently making a clone IDE/Code Editor type of program. I basically just added compile option to basic notepad example with QProcess which works. Now what I want to do is to implement a simultaneous file editing, or turn my program into online coding platform clone.

    I was thinking maybe I could store some users in MySQL database. And when user1 opens a new document and invites user2, they both can edit user1's document. interviewing.io is a nice example to what I mean.

    I don't want anyone to just come up with a direct solution. My intention is to learn but I couldn't find a starting point. I saw Session Management page but I'm not sure if that's what I need. I would be really happy if anyone would show me the way.

    Btw, I'm on a Windows platform if that matters.

    Thanks in advance!

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Session Management won't help in the sense of managing multiple users simultaneously. It's to give your application the means to react to a user session stopping or when a power down is triggered.

      As for your editor. you will likely have to have one central server and your IDE will be a client.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • K Offline
        K Offline
        KaanFresh
        wrote on last edited by
        #3

        Thank you! I'll dig into that asap

        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