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. Qt Modality Over Another Application?
Forum Update on Monday, May 27th 2025

Qt Modality Over Another Application?

Scheduled Pinned Locked Moved General and Desktop
3 Posts 3 Posters 2.3k 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.
  • L Offline
    L Offline
    LiamMaru
    wrote on 8 Apr 2011, 04:32 last edited by
    #1

    Bit of an odd question, but is there a way for one Qt application running in a different address space to give it's main window modality over another main window in another application? What sort of information is required by either application? HWND, window ID?

    I'm interested in pushing certain functionality into DLL files or SO files (depending on the platform) and this is a significant concern.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on 8 Apr 2011, 06:43 last edited by
      #2

      Shared libraries share the address space of the executable using them, so pushing functionality into a library should not necessitate making one window modal to another applications window.

      1 Reply Last reply
      0
      • G Offline
        G Offline
        giesbert
        wrote on 8 Apr 2011, 07:52 last edited by
        #3

        It is not possible to give memory from one process to another directly. The address spaces are separated. You can use some IPC mechanisms to communicate between them, but the resources stay in the process where they are.

        Nokia Certified Qt Specialist.
        Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

        1 Reply Last reply
        0

        3/3

        8 Apr 2011, 07:52

        • Login

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