Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Starting remote a console program
Forum Updated to NodeBB v4.3 + New Features

Starting remote a console program

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 3 Posters 983 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.
  • Q Offline
    Q Offline
    qter314
    wrote on last edited by
    #1

    Hi,
    I want to run on a other pc over network a console program if I click in build Qt GUI on a button.

    It should be simple because I'm a beginner. I think to do it with XML-RPC. But I was not able to do it until now. Maybe any other way to do it? Some examples?

    Cheers
    Mike

    1 Reply Last reply
    0
    • p3c0P Offline
      p3c0P Offline
      p3c0
      Moderators
      wrote on last edited by
      #2

      Hi,

      May be you should try TCP Server-Client way. Keep Client the one which will start console program on that machine. There are these "Qt Network examples":http://doc.qt.io/qt-5/examples-network.html but the simplest of them would be "Fortune Server Example":http://doc.qt.io/qt-5/qtnetwork-fortuneserver-example.html. You can modify the Fortune Client code to run the console program.

      157

      1 Reply Last reply
      0
      • A Offline
        A Offline
        andreyc
        wrote on last edited by
        #3

        You can use ssh to run remote console program.
        Not sure if it will work on Windows. But on Linux or OSX it will work.

        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