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. Can I create an OSX System Preferences pane with Qt
Qt 6.11 is out! See what's new in the release blog

Can I create an OSX System Preferences pane with Qt

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 625 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.
  • L Offline
    L Offline
    Ludvig
    wrote on last edited by
    #1

    I am creating an application to modify settings for a USB audio device. I need these setting to appear in System Preferences in OSX.

    According to the apple documentation ("Preference Pane Programming Guide":https://developer.apple.com/library/mac/documentation/UserExperience/Conceptual/PreferencePanes/Concepts/Anatomy.html) the NSPrincipalClass entry in the bundle Info.plist would need to specify a Qt binary that subclasses NSPreferencePane rather than NSApplication. I have looked through the Qt documentation and searched the forums here and see no reference on how to do this. I was ready to give up when I ran across "a post":http://stackoverflow.com/questions/3397177/platform-native-preferences-dialog-with-qt-on-mac-gnome-kde-and-windows/5716861#5716861 which eludes to it being possible to create OSX preference panes from Qt, but unfortunately gives no clues as to how this might have been achieved.

    Is it possible to create an OSX System Preferences panel using Qt? Any help or advice on how to do this would be greatly appreciated.

    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