|
In lugnet.cad.dev, Kevin L. Clague wrote:
> In lugnet.cad.dev, Travis Cobbs wrote:
> > In lugnet.cad.dev, Kevin L. Clague wrote:
> > > All I get is a single menu item in the menu bar above the desktop. It says
> > > LPub. The contents of the menu are not from LPub though.
> > >
> > > I've built LPub using QMainWindow. It has a function that returns a pointer to
> > > the menuBar(). I build all my main menus using that.
> > >
> > > Maybe you're doing things differently?
> >
> > LDView has its main menu inside the .ui file for the main window. It was
> > created and is maintained in QT Designer. Take a look at LDView.ui to see if
> > there's anything obviously different there.
> >
> > --Travis
>
> Hmmm..... one major difference is that I didn't use the designer for any of my
> GUI.
>
> I wonder if that is why things are different.
>
> Kevin
problem fixed.
extern void qt_mac_set_native_menubar(bool);
qt_mac_set_native_menubar(true);
Kevin
|
|
Message has 1 Reply:
Message is in Reply To:
81 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|