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. Subclassing NSApplication
Qt 6.11 is out! See what's new in the release blog

Subclassing NSApplication

Scheduled Pinned Locked Moved General and Desktop
osx
1 Posts 1 Posters 972 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.
  • K Offline
    K Offline
    kevinbarresi
    wrote on last edited by
    #1

    Hi,

    I'm working on getting my CEF enabled application working on OS X, but I ran into an issue. The CEF documentation states that the NSApplication used must "Provide the CefAppProtocol implementation required by CEF.".

    I have no issues with compiling Objective C++ sources alongside the C++ sources, but I don't know how to go about providing this functionality. I'm assuming that somewhere inside QApplication, an NSApplication instance is defined and created.

    Any ideas on how to access the provide a CefAppProtocol implementation for my QApplication? If I could somehow override the internal NSApplication of the QApplication, that would do the trick, but I don't know if this is possible.

    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