Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Migrate from MFC visual studio 2008 to Qt5
Forum Updated to NodeBB v4.3 + New Features

Migrate from MFC visual studio 2008 to Qt5

Scheduled Pinned Locked Moved Unsolved General and Desktop
21 Posts 7 Posters 3.6k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W willkom

    @Chris-Kawa, so using qtwinmigrate library mean convert all the MFC dependency of the project to Qt5 dependency right?

    Chris KawaC Online
    Chris KawaC Online
    Chris Kawa
    Lifetime Qt Champion
    wrote on last edited by Chris Kawa
    #21

    @willkom said:

    so using qtwinmigrate library mean convert all the MFC dependency of the project to Qt5 dependency right?

    qtwinmigrate is a stopgap solution that allows MFC and Qt to coexist in a single app and embed widgets in MFC windows so you can port all your MFC classes one by one. When you're done qtwinmigrate is no longer used and can be removed from your project.

    So if you decide to use it the steps are:

    • Port your app to VS2019 (still with just MFC)
    • If you want to use Qt Creator you'll probably want to port your solution from .sln to qmake or CMake.
    • Add qtwinmigrate to your project and use it to create a Qt event loop inside your MFC application
    • Using qtwinmigrate start porting your MFC classes one by one to Qt
    • When you're done remove qtwinmigrate from your project
    • Remove MFC dependencies from your project (libs, includes etc.)
    1 Reply Last reply
    4

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved