Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. C++ Gurus
  4. Interface with applications on Linux

Interface with applications on Linux

Scheduled Pinned Locked Moved C++ Gurus
3 Posts 3 Posters 1.8k Views
  • 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.
  • J Offline
    J Offline
    jelinson
    wrote on last edited by
    #1

    I am designing a program (call it A) to interface with another third-party application (call it B). How could program A determine window information about program B? In particular, is it possible to detect specific menus or buttons of program B? By "detect" I mean at least determine the screen position of such.

    Thanks for any ideas!

    1 Reply Last reply
    0
    • L Offline
      L Offline
      leon.anavi
      wrote on last edited by
      #2

      You can use IPC (Inter-Process Communication) to exchange information between your application and to determine what ever you need. "Qt has a module for D-BUS that may be useful":http://qt-project.org/doc/qt-4.8/QtDBus.html.

      http://anavi.org/

      1 Reply Last reply
      0
      • I Offline
        I Offline
        issam
        wrote on last edited by
        #3

        If A is a pure C++ program (It uses only SL functions) you can use pipe or UNIX domain socket for the IPC. If both A and B are Qt applications you can use Qt Socket (QtNetwork module) or Qt D-Bus.

        http://www.iissam.com/

        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