The Qt/MFC Migration Framework tool assists in the migration of existing Win32 or MFC applications to the Qt toolkit.
The project provides a set of classes that allow using Qt and MFC/Win32 windows in the same application. User interface elements developed with Qt can be embedded into an existing MFC or Win32 based user interface, and existing custom controls developed with MFC or Win32 can be integrated into Qt widgets.
Documentation:
Classes: Examples - Win32 to Qt Migration:- Using Qt widgets in a Win32 user interface
- Hosting a Win32 window in a Qt application
- Creating a Win32 plugin DLL with a Qt GUI
Tested on:
- Qt 4.4, 4.5 / Windows XP / MSVC.NET 2008
Unsupported platforms:
- Linux
- Unix
- Mac OS X
Download Commercial Edition:
Only available for Qt Solutions license holders with a valid Support and Maintenance agreement (authentication required).Download Open Source Edition (LGPL):
Changes:
- 2.8: LGPL release.
- 2.8: Misc. minor fixes.
- 2.7: Fix potential infinite loop when setting focus.
- 2.6: Support modal QWinWidget-children that are not QDialogs.
- 2.6: Compile without Qt3Support.
- 2.6: Provide API to block deferred deletes from being processed.
- 2.5: Fix type of idle-counter to make OnIdle handling work as in MFC.
- 2.5: New API QWinWidget::center that does not show the widget.
- 2.5: Clarify documentation.
- 2.5: Assert if window handles passed in are invalid.
- 2.5: Make QWinHost a Q_OBJECT to allow safe casting via qobject_cast.
- 2.4: Do not activate Win32 window when a nested Qt dialog is opened.
- 2.4: Make QtWinWidget center properly on parent widget when showCentered().
- 2.3: Make sure that widgets paint focus indicators when tabbed into coming from Win32 windows.
- 2.3: Fix possible endless recursion when using QWinWidget in an MFC dialog.
- 2.2: Compilation and documentation fixes.
- 2.1: Make MFC accelerators work.
- 2.1: Improve idle-processing.
- 2.1: Don't close when the last Qt widget closes.
- 2.1: Fix compilation issue in "winwidget" example.
- 2.0: Version 1.2 ported to Qt 4.
- 1.2: Integrate Qt and Win32 focus chains for QWinWidget.
- 1.1: Block the Win32 window when a modal Qt dialog opens.
http://qt.nokia.com/products/appdev/add-on-products/catalog/4/Windows/qtwinmigrate/