[osg-users] osgviewerQT - Slot connection with QMainWindow
antonin.linares at onera.fr
Thu Nov 5 03:08:57 PST 2009
In my no expert opinion you must use moc for signal slots mechanism.
Q_OBJECT, slots, signal macro are pre processed by moc to produces a
ONERA - DCSD
Le mercredi 04 novembre 2009 à 17:22 +0000, Darick Barnes a écrit :
> I’m having trouble modifying osgviewerQT. I am trying to modify the ViewerQT MDI version portion of the code. I am adding file menus to QMainWindow* mw (ex File – New, Open, Save etc) successfully but I am having troubles getting the SLOT connections to work based on actions. How do you get the SLOT connections from QMainWindow* mw and not the class inherited AdapterWidget or QApplication Slot connections. I am using vs2008 so if there is a way to do this without Moc it would be great. If I have to use Moc what is the procedure?
> Thank you!
> Read this topic online here:
> osg-users mailing list
> osg-users at lists.openscenegraph.org
More information about the osg-users