Expected Behavior
Use modern API's on macOS
Current Behavior
We use Carbon to register the global hotkey. This method is deprecated since 10.8.
Possible Solution
https://developer.apple.com/documentation/appkit/nsevent/1535472-addglobalmonitorforeventsmatchin?language=objc
Replace static uint16 qtToNativeKeyCode(Qt::Key key); with static CGKeyCode qtToNativeKeyCode(Qt::Key key);
Remove -framework Carbon from mac-autotype CMakeLists
Expected Behavior
Use modern API's on macOS
Current Behavior
We use Carbon to register the global hotkey. This method is deprecated since 10.8.
Possible Solution
https://developer.apple.com/documentation/appkit/nsevent/1535472-addglobalmonitorforeventsmatchin?language=objc
Replace
static uint16 qtToNativeKeyCode(Qt::Key key);withstatic CGKeyCode qtToNativeKeyCode(Qt::Key key);Remove
-framework Carbonfrom mac-autotype CMakeLists