Results 1 to 4 of 4

Thread: Basic QMainWindow doesn't show menubar

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: Basic QMainWindow doesn't show menubar

    Quote Originally Posted by Jeffb View Post
    Am running Leopard on a Mac.
    On Macs the menu bar is on top of the screen and not in the window.

  2. #2
    Join Date
    Apr 2010
    Posts
    77
    Qt products
    Qt4
    Platforms
    MacOS X
    Thanks
    10
    Thanked 7 Times in 6 Posts

    Thumbs up

    @Master

    Of course it is.

    Been reading too many textbooks that are based on Windows - I forgot what my own operating system looks like.

    Thanks heaps
    Jeff

    @Novice

    Originally I forgot to put in setupUi(this) and the program ran but nothing showed up including the form.
    When I put it in, everything worked fine - I just didn't realise it - thanks again Master of Zen.

    Jeff
    Last edited by wysota; 14th April 2010 at 17:01.

Similar Threads

  1. QMainWindow and custom widget doesn't show
    By Peppy in forum Qt Programming
    Replies: 9
    Last Post: 26th December 2009, 16:09
  2. Can't click menubar items / QPixMap doesn't show
    By richardander in forum Qt Programming
    Replies: 1
    Last Post: 30th December 2008, 11:45
  3. Replies: 6
    Last Post: 20th August 2008, 21:21
  4. Replies: 5
    Last Post: 21st November 2007, 10:51
  5. Replies: 2
    Last Post: 23rd February 2006, 17:38

Tags for this Thread

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
  •  
Qt is a trademark of The Qt Company.