Hi,
it's me again
i create project qt+ogre i have not problem with that
for create this project i define class like that
Qt Code:
  1. class OgreWidget : public QWidget
  2. {
  3. Q_OBJECT
  4.  
  5. public:
  6. OgreWidget(QWidget *parent = 0);
  7. ~OgreWidget();
  8. .
  9. .
  10. .
To copy to clipboard, switch view to plain text mode 
and all my functions are in this class
for exemple
Qt Code:
  1. void OgreWidget::createScene()
  2. void OgreWidget::setupNLoadResources()
  3. void OgreWidget::paintEvent(QPaintEvent *e)
  4. .
  5. .
  6. .
To copy to clipboard, switch view to plain text mode 
i change now my gui (interface) it's based now qmainwindows and the widget where i want create my scene there it's part of this class qmainwindows
i have now this
Qt Code:
  1. class MyInterface : public /*QWidget*/QMainWindow
  2. {
  3. Q_OBJECT
  4.  
  5. public:
  6. QWidget *centralwidget;
  7. . QMdiArea *mdiArea;
  8. .
  9. .
To copy to clipboard, switch view to plain text mode 
my interface mow is like that
inter.jpg
i want see my scene in the ceb$ntral widget "sous fenêtre" who it is on the mdiArea

is i must create another class ? how i do that ?