Qt and Ubuntu Unity Global Menu



  • Hi, community of Qt Developer Network!

    I am using Ubuntu 12.10 with Unity Desktop on the board. If I build Qt with these keys:
    @
    ./configure -fast -opensource -nomake-demos -nomake-examples -no-webkit && make
    @

    I am getting working Qt libraries but..they do not support Unity Global Menu. When I build an application with them, I am getting traditional menu on the form (global menu shows it to the left of the tray).

    There is a package qt-sdk which has Qt 4.8.3 + Qt Tools. However, it supports Unity Global Menu. Maybe there is a configure key which gives this functionallity?

    Has anyone dealed with this issue?

    Thanks.


  • Moderators

    The nice thing about linux distros is that it is really easy to find out how they build their stuff:-) So did you check what ubuntu does when building Qt? Just check the package-version.debian.tar.whateverCompression file found "here":http://packages.ubuntu.com/quantal/qt4-dev-tools .

    The configure command used is in debian/rules of that archive. You can also see that ubuntu does a lot of patching... maybe what you need is in one of those patches. Those are listed in debian/patches/series IIRC.


  • Moderators

    Maybe this can help to configure what you want:
    Section 5: Configuring Unity

    "From":http://m.techrepublic.com/blog/10things/10-things-you-should-know-about-ubuntu-unity/3245



  • [quote author="Eddy" date="1353758905"]Maybe this can help to configure what you want:
    Section 5: Configuring Unity

    "From":http://m.techrepublic.com/blog/10things/10-things-you-should-know-about-ubuntu-unity/3245
    [/quote]

    I am sorry, but it's not that info I am finding now.



  • [quote author="Tobias Hunger" date="1353756577"]The nice thing about linux distros is that it is really easy to find out how they build their stuff:-) So did you check what ubuntu does when building Qt? Just check the package-version.debian.tar.whateverCompression file found "here":http://packages.ubuntu.com/quantal/qt4-dev-tools .

    The configure command used is in debian/rules of that archive. You can also see that ubuntu does a lot of patching... maybe what you need is in one of those patches. Those are listed in debian/patches/series IIRC.[/quote]

    Thanks, Tobias!

    It looks like I need to patch Qt with smth like qt-appmenu and etc.

    However I wrote an email to Ubuntu Employee I know, so maybe he will tell smth I need.


Log in to reply
 

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