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. Migrating from MFC to Qt: How to install qtwinmigrate
Forum Updated to NodeBB v4.3 + New Features

Migrating from MFC to Qt: How to install qtwinmigrate

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 415 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.
  • Vil_JLV Offline
    Vil_JLV Offline
    Vil_JL
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by JKSH
      #2

      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();
      

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      1 Reply Last reply
      1

      • Login

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