Search code examples
visual-studio-2012qt4add-in

Is it possible to work with Qt4 projects in Visual Studio 2012 using add-ins?


I've found that Qt VS addin 1.1.x worked with Visual Studios including 2010. Qt VS addin 1.2.x does not support Qt4 in VS 2012. Are there any forks of this addin which can cope with Qt4 in VS 2012?


Solution

  • Yes it is possible with the VS addin 1.2.2. I use this addin version and Qt 4.8.1 in Visual Studio 2012 together.

    The addin has limitations for Qt4, but it does the whole moc and ui stuff for you.

    The limitations are:

    • you must specify the Qt4 include directories and lib paths self (not clickable)
    • you have no Qt 4 file templates (but still works, after changing the include directives of the Qt4 header files according to the Qt4 file structure)

    Qt Versions