[Interest] icons in menus

Rutledge Shawn Shawn.Rutledge at theqtcompany.com
Mon Sep 14 12:17:20 CEST 2015


On 14 Sep 2015, at 12:05, Till Oliver Knoll <till.oliver.knoll at gmail.com> wrote:

> 
>> Am 13.09.2015 um 16:50 schrieb René J.V. Bertin <rjvbertin at gmail.com>:
>> 
>> Hi,
>> 
>> Is it to be expected that I have icons in the items of the global menubar of the Assistant, Designer and Linguist apps, using the Qt 5.5.0 Cocoa build?
> 
> No.
> 
> Applications on OS X don't have icons in the menu - as per Apple HIG.
> 
> Also refer to http://doc.qt.io/qt-5/qt.html#ApplicationAttribute-enum
> 
> (Not sure whether it is necessary to explicitly set 
> 
> Qt::AA_DontShowIconsInMenus
> 
> /before/ instantiating QApplication or whether that's set by default on OS X)

It’s the default.  Qt uses native menus on OS X (rendering the menubar ourselves is not an option), and I don’t think they can display icons at all.




More information about the Interest mailing list