Integration of Qt4.8.3 with Visual Studio 2012
-
Hi,
Very easy to say is that when the Qt is compiled in the version of studio your using it will compile. Qt normally releases the libs compiled in most common compilers. If you want to use an other one you have to download the source code of the libs and compile the source code with the compiler you want to use.
Or simply use MSVC2010 until Qt is released in MSVC2012 ;-)
Greetz -
To use the Qt with MSVC 2012, you'll have to compile the libraries yourself using MSVC 2012.
As for the lack of the plugin. I do not write my own custom build rules. I setup a .pro file that contains all sources and library paths and run @qmake -tp vc -r <filename>@
And then upgrade the resulting 2010 project to 2012 (using MSVC itself). This ensures that everything is setup correctly. However, this has to be run everytime you add a new header containing a Q_OBJECT, causing recompilation of the entire project. This might or might not be a problem at all. It isn't in my case.
-
[quote author="Peter K" date="1352392476"]To use the Qt with MSVC 2012, you'll have to compile the libraries yourself using MSVC 2012.
As for the lack of the plugin. I do not write my own custom build rules. I setup a .pro file that contains all sources and library paths and run @qmake -tp vc -r <filename>@
And then upgrade the resulting 2010 project to 2012 (using MSVC itself). This ensures that everything is setup correctly. However, this has to be run everytime you add a new header containing a Q_OBJECT, causing recompilation of the entire project. This might or might not be a problem at all. It isn't in my case.[/quote]
I don't mind buildin Qt from source. Already done that. But for the addin, we have a few very large projects that we are actively developing. This would be incredibly painful. Writing the build rules manually would not be much fun either. VS 2012 has been out for a while now. Is Qt planning on releasing this addin?