Macdeployqt and menu



  • When using macdeployqt on my app, all menus except system menu are missing. Otherwise app is working as it should. When macdeploqt is not used, all menus are there as expected. Menus are created with QT Creator (uic'ed).

    qt 4.5.8 (32 bit)
    osx 10.8.5

    Any ideas ?
    Thanks!
    Zabukowski



  • I've found a workaround.

    First I've removed -no-plugins option from macdeployqt command line and
    menu suddenly appeared.

    Then I've removed each plugin (from app package) one by one, at the end i've deleted plugins folder. Menu was still there.

    Then I saw a file qt.conf in the Resources folder. I've deleted it and guess what - menu has gone again.

    ??!!!

    An empty qt.conf file in the Resources folder should do the trick!

    Awesome :)


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    That sounds a bit fishy, did you check the "bug report system":http://bugreports.qt-project.org to see if it's something known ? If not you could consider opening a bug report with a minimal compilable examples as well as your findings.

    Happy coding ! :)


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.