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. small Client - Host Application

small Client - Host Application

Scheduled Pinned Locked Moved Solved General and Desktop
8 Posts 3 Posters 2.0k Views 3 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.
  • B Offline
    B Offline
    Bobbin
    wrote on last edited by
    #1

    Hello,

    I want to create a little Application only using a QTable and some buttons do insert stuff. I want to have a host and some clients that have access. The host should be able to change data in the table and have full access on everything , the client can only see the table.

    All in all its not complex and just simple.

    The Question i have refers to the connection between host and client. I need the application on my computer to put data into the table and then i need my client to have the application on his computer aswell and he has to see the data. Are there any examples on how to do that? Where can i start reading into that?

    Thanks for any help.

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

      Hi and welcome
      Sounds like you want to sent data so network classes seem like a good start
      http://doc.qt.io/qt-5/examples-network.html

      How much data are we talking about ?

      Also if you plan to do this over the internet, there are more issues than on local lan.

      1 Reply Last reply
      3
      • B Offline
        B Offline
        Bobbin
        wrote on last edited by Bobbin
        #3

        its not a lot of data just one table and some informations its about stocks, it will be just a table about how much everyone invested and how much we invested in which stocks, we are around 30 people

        what is the best method to sent the data with less issues?

        mrjjM 1 Reply Last reply
        0
        • B Bobbin

          its not a lot of data just one table and some informations its about stocks, it will be just a table about how much everyone invested and how much we invested in which stocks, we are around 30 people

          what is the best method to sent the data with less issues?

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

          @Bobbin
          Hi
          So there be a master data holder and 30 people that will want to read the data?

          Why not use a web server and a browser?

          If you plan on running your own app behind a router , you will need to open port and more to
          allow for other to read.
          Normally routers allow http and hence a webserver will be very easy to get working with multiple clients.

          What platform are you on ?

          1 Reply Last reply
          1
          • B Offline
            B Offline
            Bobbin
            wrote on last edited by Bobbin
            #5

            @mrjj
            Hi,

            yes you got that correct with the master and the 30 people who wants to read the data.

            I have no knowledge bout web server and browser, what do i need for that, is that for free? It does not have to be my own app.

            Does it mean to create a website? I would like to have a password then, I don't want anyone else to see it then instead of these people.

            The thing is i am in my Uni network ( I live right next to my uni) so i can't open any ports which will be a problem with Qt and network right?

            I am on Windows 7.

            mrjjM 1 Reply Last reply
            0
            • B Bobbin

              @mrjj
              Hi,

              yes you got that correct with the master and the 30 people who wants to read the data.

              I have no knowledge bout web server and browser, what do i need for that, is that for free? It does not have to be my own app.

              Does it mean to create a website? I would like to have a password then, I don't want anyone else to see it then instead of these people.

              The thing is i am in my Uni network ( I live right next to my uni) so i can't open any ports which will be a problem with Qt and network right?

              I am on Windows 7.

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

              @Bobbin
              Well the amount of work to make such client & server system with Qt will be a lot.
              Yes there will be issues with ports if u are behind firewall.
              Also its hard to make safe from hackers at a home system.

              You can get a webserver for free
              https://www.apachefriends.org/index.html

              But then your pc must always be on. So i would just find a good hosting site and
              just have it online?

              PHP is not hard to learn but there are many other technology you can use.
              Some even have a pretty good site builder and you can likely make much of it without code.
              Having password is not a problem.

              1 Reply Last reply
              1
              • mrjjM Offline
                mrjjM Offline
                mrjj
                Lifetime Qt Champion
                wrote on last edited by
                #7

                Just a note
                I am not sure what the app must do for the clients but you could also just use
                google and share a file there to others. you can directly share a spread sheet and
                disallow editing. so all can read and u can alter.

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

                  Hi,

                  From the looks of it, it seems that you could also make use of the cutelyst project.

                  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
                  2

                  • Login

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