Hello,

I have an MFC control (I have not the choice of the start of my project), and I would like put a QFrame into my MFC control in order to fill the rest with Qt.

I tried this :
Qt Code:
  1. QFrame* fr = new QFrame();
  2. ::SetParent(hWndParent, fr->winId());
To copy to clipboard, switch view to plain text mode 
But QFrame launch an exception because no QApplication have been instancied.

Also, I saw a QWinWidget class which seems to be what I need :
The QWinWidget class is a Qt widget that can be child of a native Win32 widget
But I have any qwinwidget.h file in my include directory...

Can you help me please ?

Thanks,

Aurélien