How to add "About" action to app on OS X?
<p>In almost every application on OS X, if you click on the name of application, one of the actions is "About". I understand how I can do this in <code>QMenuBar</code>, but seems like it is not a part of it.</p>

<p>The second question is how this will be shown on Windows? </p>

<p>I don't use QML - how to do this in code?
Like this way:   </p>

<pre><code>QMenu *fileMenu = menuBar-&gt;addMenu("File");

QAction *newFile = new QAction("New", fileMenu);
QAction *openProjectAction = new QAction("Open project", fileMenu);
</code></pre>

<p>So how I add "About" action to group of actions of application?
Screenshot added<a href="https://i.stack.imgur.com/PdNL9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PdNL9.png" alt="Google Chrome about"></a></p>