coreplugin/mac: set menu role before adding menu
coreplugin/mac: set menu role before adding menu

improves menu behaviour for qt5 on osx

Task-number: QTCREATORBUG-8152
Change-Id: I6ff7703d45ff5e250c7fae9a8c85f8d8ef078e16
Reviewed-by: Eike Ziller <c142da16c73a95a82d35191bcc55b22835617128@digia.com>

duythanhphan/qt-creator,omniacreator/qtcreator,AltarBeastiful/qt-creator,richardmg/qtcreator,amyvmiwei/qt-creator,xianian/qt-creator,AltarBeastiful/qt-creator,farseerri/git_code,darksylinc/qt-creator,martyone/sailfish-qtcreator,amyvmiwei/qt-creator,malikcjm/qtcreator,duythanhphan/qt-creator,martyone/sailfish-qtcreator,kuba1/qtcreator,amyvmiwei/qt-creator,colede/qtcreator,farseerri/git_code,farseerri/git_code,Distrotech/qtcreator,malikcjm/qtcreator,danimo/qt-creator,danimo/qt-creator,omniacreator/qtcreator,xianian/qt-creator,maui-packages/qt-creator,kuba1/qtcreator,xianian/qt-creator,darksylinc/qt-creator,farseerri/git_code,danimo/qt-creator,danimo/qt-creator,danimo/qt-creator,martyone/sailfish-qtcreator,danimo/qt-creator,darksylinc/qt-creator,colede/qtcreator,richardmg/qtcreator,kuba1/qtcreator,colede/qtcreator,duythanhphan/qt-creator,kuba1/qtcreator,danimo/qt-creator,colede/qtcreator,colede/qtcreator,malikcjm/qtcreator,xianian/qt-creator,Distrotech/qtcreator,omniacreator/qtcreator,xianian/qt-creator,Distrotech/qtcreator,richardmg/qtcreator,martyone/sailfish-qtcreator,maui-packages/qt-creator,Distrotech/qtcreator,malikcjm/qtcreator,duythanhphan/qt-creator,AltarBeastiful/qt-creator,martyone/sailfish-qtcreator,martyone/sailfish-qtcreator,kuba1/qtcreator,darksylinc/qt-creator,maui-packages/qt-creator,duythanhphan/qt-creator,amyvmiwei/qt-creator,AltarBeastiful/qt-creator,AltarBeastiful/qt-creator,amyvmiwei/qt-creator,danimo/qt-creator,richardmg/qtcreator,duythanhphan/qt-creator,kuba1/qtcreator,Distrotech/qtcreator,xianian/qt-creator,martyone/sailfish-qtcreator,amyvmiwei/qt-creator,colede/qtcreator,martyone/sailfish-qtcreator,amyvmiwei/qt-creator,maui-packages/qt-creator,xianian/qt-creator,omniacreator/qtcreator,darksylinc/qt-creator,malikcjm/qtcreator,kuba1/qtcreator,malikcjm/qtcreator,Distrotech/qtcreator,kuba1/qtcreator,xianian/qt-creator,maui-packages/qt-creator,darksylinc/qt-creator,xianian/qt-creator,kuba1/qtcreator,farseerri/git_code,farseerri/git_code,maui-packages/qt-creator,farseerri/git_code,AltarBeastiful/qt-creator,farseerri/git_code,AltarBeastiful/qt-creator,amyvmiwei/qt-creator,duythanhphan/qt-creator,richardmg/qtcreator,martyone/sailfish-qtcreator,richardmg/qtcreator,darksylinc/qt-creator,omniacreator/qtcreator,omniacreator/qtcreator,AltarBeastiful/qt-creator,malikcjm/qtcreator,omniacreator/qtcreator,darksylinc/qt-creator,colede/qtcreator,danimo/qt-creator,maui-packages/qt-creator,Distrotech/qtcreator,richardmg/qtcreator