Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Data exchange between Qt & Linux console?!
Qt 6.11 is out! See what's new in the release blog

Data exchange between Qt & Linux console?!

Scheduled Pinned Locked Moved Mobile and Embedded
5 Posts 3 Posters 2.3k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hi there~

    I am new to Qt!!
    Actually, I don't even get my hand on Qt yet!!

    I don't know if it's good to put my question here....
    Please let me if I need to change the post somewhere else. thanks.

    My question is

    1. Is it possible to do data exchange between Qt application & Linux console program?
    2. If yes, how can I do it?! IPC? QSharedMemory? QSemaphore? or ?!

    very appreciated to any information.

    Best Regards,
    SP

    1 Reply Last reply
    0
    • C Offline
      C Offline
      Code_ReaQtor
      wrote on last edited by
      #2

      "QProcess":http://doc.qt.digia.com/qt/qprocess.html, I cant elaborate more since I am not expert in Linux. But it is used to communicate with console applications... wherein Qt is most often used as "frontend" for most console-based app.

      Please visit my open-source projects at https://github.com/Code-ReaQtor.

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        Many thanks for your information!!
        I will take a look on the page http://doc.qt.digia.com/qt/qprocess.html#details
        It takes time to me since I am all new to Qt......

        [quote author="Code_ReaQtor" date="1352704587"]"QProcess":http://doc.qt.digia.com/qt/qprocess.html, I cant elaborate more since I am not expert in Linux. But it is used to communicate with console applications... wherein Qt is most often used as "frontend" for most console-based app.[/quote]

        1 Reply Last reply
        0
        • ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #4

          You might also want to look into D-Bus and its Qt wrapper libQtDBus.

          Many Linux apps use that nowadays to talk to each other.

          1 Reply Last reply
          0
          • ? Offline
            ? Offline
            A Former User
            wrote on last edited by
            #5

            Many thanks for your information!!
            vary appreciated!!

            [quote author="Tobias Hunger" date="1352750944"]You might also want to look into D-Bus and its Qt wrapper libQtDBus.

            Many Linux apps use that nowadays to talk to each other.[/quote]

            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