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. Setting an app to be the default app

Setting an app to be the default app

Scheduled Pinned Locked Moved Unsolved General and Desktop
music
2 Posts 2 Posters 1.2k 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.
  • S Offline
    S Offline
    shahriar25
    wrote on last edited by
    #1

    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?

    stackprogramerS 1 Reply Last reply
    0
    • S shahriar25

      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?

      stackprogramerS Offline
      stackprogramerS Offline
      stackprogramer
      wrote on last edited by
      #2

      @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
      0

      • Login

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