PDA

View Full Version : non-commercial Qt4 with VS2005 Professional IDE



Masih
26th April 2007, 14:44
Hi there,

I want to know if is it possible to write Qt programs(using only texts and not user interface icons) inside MVS2005 and build/run it directly from there?

If yes, then could you please tell me or reffer me to somewhere to see how i should set the installation? :o

Bests
Masih



I am a newbie!!!

marcel
26th April 2007, 14:48
Read this:
http://wiki.qtcentre.org/index.php?title=Qt4_with_Visual_Studio

You must set the include paths and library paths correctly in the project properties. Of course, first you have to compile Qt :)

Regards

Masih
27th April 2007, 23:44
:eek:
I did what was written here http://qtnode.net/wiki/Qt4_with_Visual_Studio
and http://wiki.qtcentre.org/index.php?title=Qt4_with_Visual_Studio
for the later link with the difference that I am using .NET2005 and Qt4.2.3 instead of .NET2003 and QT4.2.2.

in the configuring step, when i enter the command configure.exe I get this message in the prompt

" This is the Qt/windows Open Source Edition.
The Qt/Windows Open Source Edition only supports the MinGW compiler."


as the matter of fact I am having another Qt installation which works well with MinGw compiler. The reason I asked the question was that i don't like the Dev-C++ IDE and like to write the programs in MVS instead of that. Also think that debugging in MSV would be easier.

let's suppose that the solution proposed by these two links work (which have not worked for me yet) , does it make me possible to write the Qt program in MSV and compile and build it directly from the MSV. ( I mean by pushing that pretty green Start debugging arrow;) )


:o

merlvingian
30th April 2007, 20:18
You need to use qconfigure not configure.

use

qconfigure msvc2005

GreyGeek
2nd May 2007, 18:47
Since you have been running the MinGW compiler for QT on Windows, have you tried the QDevelop 0.22 IDE? It includes code completion, debugging and smooth QT integration.