Qt 6.11 is out! See what's new in the release
blog
Subclassing NSApplication
General and Desktop
1
Posts
1
Posters
972
Views
1
Watching
-
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.