Want to include MFC dialog in Qt application
-
wrote on 6 Jun 2011, 08:15 last edited by
I have an MFC dialog defined in a library which I want to use in my new Qt application. I followed the "MFC to Qt migration walkthrough":http://doc.trolltech.com/solutions/qtwinmigrate/winmigrate-walkthrough.html but still couldn't figure out how to proceed to include the MFC dialog.
In the "QMfcApp":http://doc.trolltech.com/solutions/qtwinmigrate/qmfcapp.html class documentation it doesnt specify how the MFC dialog must be instantiated in Qt code. As the name suggest the class is only for an app and not for a dialog.I'm really confused here as to how I can include the MFC dialog in my Qt code with using this migration framework.
Pls if somebody with experience of having done such a thing suggest to me where I should start from wud be very much appreciated.
-
wrote on 6 Sept 2011, 19:44 last edited by
I too am interested in getting the answer to this question. I am responsible for finding out if it is possible for an MFC form to be shown in a QT dialog. The reasoning behind it is schedule constraints. I have a QT application with a simple dialog and want to display a MFC form inside of it. Is this even possible?
A quick reply would be greatly appreciated.
-
wrote on 6 Sept 2011, 19:50 last edited by
On QtCentre someone has been answering this same question:
http://www.qtcentre.org/threads/24035-how-create-CWnd-and-use-it-in-Qt -
wrote on 6 Sept 2011, 19:51 last edited by
Thanks a bunch for the link. Will look into it.