PDA

View Full Version : Qt4 Install



Xarver
11th November 2008, 21:40
Hi I installed Qt bundled with MinGW and am new.
I try to compile a hello world program, and it won't work.
It throws errors at me, saying that the include doesn't exist.

I don't want to compile from the command line,
because it seems difficult,
so is there any way I can get Open Source Qt4.4 set up
with Visual C++[latest version] for free?

I already have Qt installed in D:\Qt but I just want it
to work with Visual C++.

Any help appreciated. :)

P.S. I've already tried configure and then nmake
It configured in one hour, then I entered nmake
and it took 5 hours, and wasn't even done yet.

I used the mingw/QT set up to make Qt install in D:\Qt
and I want it to be installed with Visual C++.

I'm using Open Source Qt 4.4.3

calhal
12th November 2008, 09:26
Hi I installed Qt bundled with MinGW and am new.
I try to compile a hello world program, and it won't work.
It throws errors at me, saying that the include doesn't exist.
You need to set some environment variables in your system (if you run command prompt set by Qt you'll see what they are).


I don't want to compile from the command line,
because it seems difficult,
It's easy just qmake and then make from the command prompt set by Qt.


so is there any way I can get Open Source Qt4.4 set up
with Visual C++[latest version] for free?
I think you need to compile Qt with VC.

calireno
12th November 2008, 09:51
Here is a great and easy tutorial that explains all the steps with screenshots attached.
Great ressource :)
Please note that you can skip the compilation part, eventhough it's really not that hard... all you have to do is pretty much type configure, and then nmake or something like... it just take some time (about 2-4 hours depending on your machine)

http://cgg.ms.mff.cuni.cz/~vajicek/qt/qt_windows_howto.html

Grimlock
15th November 2008, 18:19
There are also some nice alternatives to V S:
You may want to try them

http://edyuk.org/

and there is Qt Creator [Alpha]
yes I know its an alpha but it never failed me yet :cool: