kwidgetsaddons on OS X: menus become menu items

David Faure faure at kde.org
Thu Feb 9 10:52:07 UTC 2017


On mardi 7 février 2017 10:21:33 CET René J.V. Bertin wrote:
> On Tuesday February 7 2017 01:15:23 Marko Käning wrote:
> 
> Hi,
> 
> >BTW, has this problem disappeared in the meantime?
> 
> Not really. The Qt error messages are no longer printed, but the underlying
> cause is still there. QActions that are added to a Mac native menu are
> reparented and cannot also be used elsewhere. I know David Faure has picked
> up on that a while back, I don't know if he has managed to get any clarity
> on the why and how of this regression (w.r.t. Qt4).

No, no idea, but this certainly can't be expected, the whole point of the 
QAction concept is to use the *same* QAction in menus, toolbars, context 
menus, and for shortcuts. So it's most definitely a Qt bug.

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Working on KDE Frameworks 5



More information about the Kde-frameworks-devel mailing list