Wednesday, January 19, 2011

I'm looking to use Visual Studio to write and compile using the open source version of Qt4.

Does anyone have details in setting up Qt4 in Visual Studio 2008? Links to other resources would be appreciated as well.

I already know that the commercial version of Qt has applications to this end. I also realize that I'll probably need to compile from source as the installer for the open source does not support Visual Studio and installs Cygwin.

  • Looks like it's been done with Visual Studio 2005: http://wiki.qgis.org/qgiswiki/Building_QT_4_with_Visual_C%2B%2B_2005

    I'd imagine it would work with Visual Studio 2008, even if it requires some changes.

    Martin Beckett : That info is out of date with qt4, you don't needthe patch anymore
    From Bob
  • It's even simpler now with QT4, you no longer need the patch. Basically you just need to supply "-spec win32-msvc2008" to configure.
    There are detailed instructions here http://tom.paschenda.org/blog/?p=28

    Note- the VS integration tool only ships with the commercial licence. You canuse VS without it but it's more time consuming to manually add files to a project and the designer isn't integrated.

0 comments:

Post a Comment