Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. How to implement multiple open executable program

How to implement multiple open executable program

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
4 Posts 4 Posters 474 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.
  • H Offline
    H Offline
    hyhhyh
    wrote on last edited by
    #1
    This post is deleted!
    jsulmJ 1 Reply Last reply
    0
    • H hyhhyh

      This post is deleted!

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @hyhhyh Please explain better what you want to do!
      What is "multiple open executable program"?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      JonBJ 1 Reply Last reply
      0
      • jsulmJ jsulm

        @hyhhyh Please explain better what you want to do!
        What is "multiple open executable program"?

        JonBJ Offline
        JonBJ Offline
        JonB
        wrote on last edited by
        #3

        @jsulm
        Purely at a wild guess --- I like these wild guesses at what certain questions might mean on this forum! --- is this the same as https://forum.qt.io/topic/138052/open-some-file-with-running-instance-of-a-qtapplication ? How to have a single instance of an application open/read a file type user double-clicks on.

        I wouldn't mind knowing the answer to that! In the other thread we told the OP how to go about creating a "singleton" Qt application. That bit is easy. But how would that singleton be notified if the user double-clicks another file of the same type, which we would like it to open in e.g. another tab? My guess is this is OS/windowing system specific and not covered by Qt? Anyone know?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi,

          For macOS, there's QFileOpenEvent.

          In any case, you have to register your application as the default to be used to open that file format.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          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