I have two questions about converting MFC to QT
-
Hi,
@Halo_Hao said:
- I’m working on a VC project using MFC framework, but I need to use Qt anyway. I’m wondering whether there is a tool that can convert MFC to Qt.
Welcome to the world of Qt! I don't think there is a tool like that, unfortunately.
- Does Qt contains functions like PostMessage and SendMessage used in MFC.
Yes. QCoreApplication::sendEvent() and QCoreApplication::postEvent() are conceptually similar to MFC's SendMessage and PostMessage.
However, there's something even better: Signals and Slots. This is one of the most powerful parts of Qt. I recommend you study it in detail.
-
This post is deleted!