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. About Qt and MFC

About Qt and MFC

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 1.5k Views
  • 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.
  • A Offline
    A Offline
    Aleph
    wrote on last edited by
    #1

    hello everybody :)

    now, i am making some parts of program with Qt 5 (Qt creator 4.2.1)
    but other parts of that are made of MFC Programming.....

    of course, this is my fault because i didn't check it..

    Do i need to change all my code?
    or
    if there is a way to migrate Qt code to MFC, please tell me.

    thanks for reading.

    jsulmJ 1 Reply Last reply
    0
    • A Aleph

      hello everybody :)

      now, i am making some parts of program with Qt 5 (Qt creator 4.2.1)
      but other parts of that are made of MFC Programming.....

      of course, this is my fault because i didn't check it..

      Do i need to change all my code?
      or
      if there is a way to migrate Qt code to MFC, please tell me.

      thanks for reading.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Aleph I don't think there is an easy way to migrate from MFC to Qt. You will need to rewrite the GUI parts of your application.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Aleph
        wrote on last edited by
        #3

        @jsulm
        Thanks!
        but, point is not 'from MFC to Qt'
        'from Qt to MFC' is what i am thinking about.

        Anyhow, you mean that i need to rewrite every code right?
        T.T Do you have any word for Diablo? because i think i will meet him
        i can see hell-gate... even though it was from my fault...

        Kidding, Thanks again ;)

        jsulmJ 1 Reply Last reply
        0
        • A Aleph

          @jsulm
          Thanks!
          but, point is not 'from MFC to Qt'
          'from Qt to MFC' is what i am thinking about.

          Anyhow, you mean that i need to rewrite every code right?
          T.T Do you have any word for Diablo? because i think i will meet him
          i can see hell-gate... even though it was from my fault...

          Kidding, Thanks again ;)

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Aleph Why did you mix Qt and MFC in the first place?
          "Anyhow, you mean that i need to rewrite every code right?" - not every. Those using Qt. Depending on your design/architecture it will be more or less work (clear separation between UI and logic).

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • hskoglundH Offline
            hskoglundH Offline
            hskoglund
            wrote on last edited by
            #5

            20 years ago MFC was good, you could listen to MC Hammer singing "You can't touch this" and create some Windows programs. However today MFC is abandonware, whereas Qt is updated a couple of times each year. It's a no-brainer which one to use :-)

            1 Reply Last reply
            0

            • Login

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