Details
-
Bug
-
Resolution: Out of scope
-
P1: Critical
-
None
-
4.8.7
-
Mac OS X 10.9.5
Description
Following code fails after commit 3d5122eab127fbe13d4e13a92ee5f6d6686d2f2f.
bool test = class_addMethod((objc_class*)delClass, sel_registerName("applicationShouldHandleReopen:hasVisibleWindows:"), (IMP)dockClickHandler,"B@:");
Reason is fix for https://bugreports.qt-project.org/browse/QTBUG-10899 which is the change https://codereview.qt-project.org/#/c/83582/
Testable with attached example. Above code returns false and registration fails. Can't get callback to dockClickHandler. With Qt 4.8.6 it works.