Compiling Qt with Visual Studio
Hi
I'm wondering if it is possible to compile Qt code with a third-party compiler like visual C++ ? I've tried to compile the most basic code examples with visual studio without any success. Visual studio is pointed to both the library location and the include folder, but I only geta bunch of errors when compiling. If it's possible can someone tell me how to setup visual studio. I'm using the open source version of Qt.
thanks!
Re: Compiling Qt with Visual Studio
In order to use Qt with Visual Studio C++ you need to install the Qt VS integration program. That program is available only with the commercial license.
Allow me to suggest that you download QDevelop from its site, http://qdevelop.free.fr/ , and also install MinGW as the compiler. http://www.mingw.org/download.shtml
Otherwise, buy a license so you can use MS VS C++.
Re: Compiling Qt with Visual Studio
Open source compiles fine for me without the non free integration.
What version of Qt are you using?
What version of VS C++?
and what errors exactly are you getting?
Bob
Edit: Might want to look at this first to see if this solves your problems http://www.qtcentre.org/forum/f-newb...ling-4042.html
Edit2: You are going to need to compile everything, follow the INSTALL instructions included with http://trolltech.com/developer/downloads/qt/windows (Do not use the miniGW version if you wish to use MS VS)
Re: Compiling Qt with Visual Studio
Quote:
Originally Posted by
circle
I'm wondering if it is possible to compile Qt code with a third-party compiler like visual C++ ?
Sure. See this article - [wiki]Qt4 with Visual Studio[/wiki]
Quote:
Originally Posted by
GreyGeek
In order to use Qt with Visual Studio C++ you need to install the Qt VS integration program.
This is no longer true. The open source version works fine with MSVC as well. You just don't have the extra buttons.
Re: Compiling Qt with Visual Studio
Quote:
Originally Posted by
wysota
Sure. See this article - [wiki]Qt4 with Visual Studio[/wiki]
This is no longer true. The open source version works fine with MSVC as well. You just don't have the extra buttons.
Thanks! That's nice to know.