Search code examples
c++qtqt4

Transition from MFC to QT


Currently all our GUI components are written in MFC. Our build environment is:

VC 6

Windows XP

I have no idea whether:

1) We can replace all MFC components with Qt, without changing build environment ?

2) Qt will work with VC6 as any other library?

You answers will help me in getting started, In the mean time I have installed Qt 4 and am trying to build some samples.


Solution

    1. If we can replace all MFC components with QT, without changing build environment ?

    Yes, you even get a MFC/Qt migration framework cf qt.nokia.com/products/appdev/add-on-products/catalog/4/Windows/qtwinmigrate/

    1. Will Qt work with VC6 as any other library ?

    VC6 is more than 10 years old!

    Qt supports VC6 until version 4.5 The next release (4.6) will drop VC6 support cf qt.nokia.com/doc/4.6-snapshot/qt4-6-intro.html#performance-optimizations