Migrating from MFC to Qt: How to install qtwinmigrate
-
Could anybody explain to me how to install and/or build the qtwinmigrate? I don't understand the documentation: https://github.com/qtproject/qt-solutions/tree/master/qtwinmigrate
I'm trying to follow this talk here https://www.youtube.com/watch?v=-q7KAVEW45U but they did not explain the qtwinmigrate part painlessly at all.
I'm working in a MFC application very similar to the one in the video, and learning to migrate it to Qt5.
-
qtwinmigrate is deprecated, and you might not even need it.
I'm working in a MFC application very similar to the one in the video, and learning to migrate it to Qt5.
May I ask why you're using Qt 5 instead of Qt 6?
Recent versions of Qt can simply use the existing MFC event loop. You could simply add the following lines to your existing MFC project (and link to the Qt libraries):
int argc = 0; auto qtapp = new QApplication(argc, nullptr); auto widget = new QWidget; widget->show();