Results 1 to 3 of 3

Thread: QT 5 and menubar under Ubuntu

  1. #1
    Join Date
    Jul 2012
    Location
    Switzerland
    Posts
    32
    Thanks
    7
    Qt products
    Qt4
    Platforms
    Windows

    Default QT 5 and menubar under Ubuntu

    Hello everyone,

    I've used until know Qt 4.8 to develop my project, I've now upgraded to Qt 5 but there's a thing I don't understand. Is there a possibility, that the menubar is not added to the window but rather to the menubar provided by the Operating System (Ubuntu). I mean that style that you have under Mac OS. Is there a way around so I can use this "old" mecanism instead of the new menubar in Qt 5.0 or is this just a problem with Ubuntu that does not yet support what Qt supplies

    thanks

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: QT 5 and menubar under Ubuntu

    As I understand it, the Ubuntu repository Qt4 packages are patched to support the Unity menu. Standard Qt libraries are not. It looks like Qt5 support is a work in progress.

    https://launchpad.net/appmenu-qt
    https://blueprints.launchpad.net/app...t5-qpa-appmenu

  3. The following user says thank you to ChrisW67 for this useful post:

    airglide (28th April 2013)

  4. #3
    Join Date
    Jul 2012
    Location
    Switzerland
    Posts
    32
    Thanks
    7
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QT 5 and menubar under Ubuntu

    great, thanks for clarifying this

Similar Threads

  1. Qt on Ubuntu 10.04 from Ubuntu packages?
    By teele in forum Installation and Deployment
    Replies: 5
    Last Post: 28th March 2012, 08:41
  2. [QT] MenuBar
    By iVo1d in forum Qt Programming
    Replies: 2
    Last Post: 18th August 2010, 13:14
  3. Erase menubar
    By lixo1 in forum Qt Programming
    Replies: 2
    Last Post: 29th January 2009, 16:04
  4. Bar on menubar?
    By zgulser in forum Qt Tools
    Replies: 6
    Last Post: 14th January 2009, 08:07
  5. Using the menubar
    By Steve in forum Newbie
    Replies: 10
    Last Post: 27th February 2006, 15:59

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.