Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. Can qt integrate with software developed by tk
Forum Updated to NodeBB v4.3 + New Features

Can qt integrate with software developed by tk

Scheduled Pinned Locked Moved Unsolved 3rd Party Software
3 Posts 3 Posters 846 Views 2 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.
  • F Offline
    F Offline
    fangyu
    wrote on last edited by
    #1

    How to implement access window handle in ubuntu system? I have a program written in tk, and I want to access its window through qt. Can be obtained through "findwindows" in the windows system, so is there a similar API in the ubuntu system. If not, can qt integrate with the software developed by tk?

    Pablo J. RoginaP JKSHJ 2 Replies Last reply
    0
    • F fangyu

      How to implement access window handle in ubuntu system? I have a program written in tk, and I want to access its window through qt. Can be obtained through "findwindows" in the windows system, so is there a similar API in the ubuntu system. If not, can qt integrate with the software developed by tk?

      Pablo J. RoginaP Offline
      Pablo J. RoginaP Offline
      Pablo J. Rogina
      wrote on last edited by
      #2

      @fangyu please don't double post

      Upvote the answer(s) that helped you solve the issue
      Use "Topic Tools" button to mark your post as Solved
      Add screenshots via postimage.org
      Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      1
      • F fangyu

        How to implement access window handle in ubuntu system? I have a program written in tk, and I want to access its window through qt. Can be obtained through "findwindows" in the windows system, so is there a similar API in the ubuntu system. If not, can qt integrate with the software developed by tk?

        JKSHJ Offline
        JKSHJ Offline
        JKSH
        Moderators
        wrote on last edited by
        #3

        Hi, and welcome!

        @fangyu said in Can qt integrate with software developed by tk:

        I have a program written in tk, and I want to access its window through qt.

        Can you describe what you mean by "access its window through Qt"? Are you trying to control the other window from a Qt application?

        Can be obtained through "findwindows" in the windows system, so is there a similar API in the ubuntu system.

        You could get the window ID (see https://stackoverflow.com/questions/151407/how-to-get-an-x11-window-from-a-process-id for example), and then call QWindow::fromWinId() (see https://doc.qt.io/qt-5/qwindow.html#fromWinId)

        However, this is not properly supported so you might not be able to do everything you want.

        can qt integrate with the software developed by tk?

        Not directly.

        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

        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