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. How can I register Qt app as default web browser on MacOS?
Forum Updated to NodeBB v4.3 + New Features

How can I register Qt app as default web browser on MacOS?

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 255 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.
  • D Offline
    D Offline
    dukeburger
    wrote on last edited by dukeburger
    #1

    I'm trying to register my Qt app so it can appear as an option for the default browser in Preferences of desktop MacOS. Specifically I believe I'm hung up on registering the default URL handler. How can I do so with Qt? Will I need a Cocoa or Swift shim?

    Also, does a MacOS desktop app need an entitlements file for HTTP/HTTPS URLs, or is that only necessary on iOS?

    FWIW, I've already done the installEventFilter within the main.cpp and added URL keys to the Info.pList.

    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