Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved Setting an app to be the default app

    General and Desktop
    music
    2
    2
    949
    Loading More Posts
    • 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.
    • S
      shahriar25 last edited by

      Hi,
      I am working on a music player and I want to know how can I set my player to be the default music player.
      I'm currently working on linux fedora and ubuntu but I also want to know how it is done in windows.
      And if this is possible I want to know how to get the path of the files that the user wants to open with my player when the user opens it in the file manager?

      stackprogramer 1 Reply Last reply Reply Quote 0
      • stackprogramer
        stackprogramer @shahriar25 last edited by

        @shahriar25 in windows yo can use api win32 in your app.
        https://msdn.microsoft.com/en-us/library/windows/desktop/cc144160(v=vs.85).aspx

        1 Reply Last reply Reply Quote 0
        • First post
          Last post