[Development] QAction-like API for QML

Robin Burchell robin+qt at viroteck.net
Tue Dec 18 13:33:59 CET 2012

On Tue, Dec 18, 2012 at 12:55 PM, Stephen Kelly <stephen.kelly at kdab.com> wrote:
>> The details of the split
>> was just following Andre's suggestion. text/secondaryText might fit
>> into CoreAction, icon will not.
> Why not? Because QML doesn't do QIcons? The reason for that is not clear
> either to me.

I don't think there's any reason it couldn't. A QIcon is a QPixmap,
after all, and QIcon lives in QtGui, so there's no dependency issue

More information about the Development mailing list