Results 1 to 4 of 4

Thread: MFC to QT

  1. #1

    Default MFC to QT

    Hi


    Our current GUI is implemented in MFC, Our build environment is

    > Windows XP (SP2),
    > VC6

    We are using Nmake for building your source .

    My Questions are :

    > Can we replace MFC with QT without changing our build environment
    > Like any other sdk, Do i have to (include & Library folder) from qt4 installation

    I want to build some samples with VC6 to present to team, how to start ?

    Best Regards
    Satbir

  2. #2
    Join Date
    Dec 2007
    Posts
    628
    Thanks
    3
    Thanked 89 Times in 87 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: MFC to QT

    Quote Originally Posted by satbirsoni View Post
    Can we replace MFC with QT without changing our build environment
    Please elaborate your mean by build environment.

    Quote Originally Posted by satbirsoni View Post
    Like any other sdk, Do i have to (include & Library folder) from qt4 installation
    Not every time If you add Qt installation in your environment variable (PATH).

    Quote Originally Posted by satbirsoni View Post
    I want to build some samples with VC6 to present to team, how to start ?
    Download qt sdk from here and voila.

    For migration help click here.

  3. #3
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: MFC to QT

    I don't see why your build environment should change, after all, the most you'll be doing is using a few custom build steps for MOC and UIC, and the later only if you use .ui files (typically from QDesigner).

    Qt comes with a VS addin that can generate valid VS project files from either nothing, or .pro (QtCreator) files.

    You will however have to recompile Qt (or contact Nokia about a commercial license, unless you have one already), as by default it only comes with libraries for GCC. This step isn't difficult however and you can be done in a few hours. You can just throw it into the background, so no need to sit around waiting for it.

  4. #4
    Join Date
    Mar 2008
    Location
    Houston, Texas, USA
    Posts
    277
    Thanks
    9
    Thanked 17 Times in 17 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Maemo/MeeGo

    Default Re: MFC to QT

    And you should use Visual Studio 2008 Express Edition as Visual Studio 6 isn't supported any more and shouldn't be used period.
    Qt-4.7.3 | Gentoo ~amd64 | KDE-4.7
    Aki IRC Client for KDE4 | Qt Documentation

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.