I've been trying to get Qt installed and work with Visual Studio 2008 for a while now, to no avail. I would have hoped there would have been a straight forward process for this, but I've not seen one yet, so here's the steps I've done so far.

My computer is windows XP 64bit SP 2 intel Xeon 2.4Ghz with 8GB ram.

I've been using the hello world example from here as my test to see if it's been installed correctly yet.

My single error so far has been:
c:\%documentslocation%\my documents\visual studio 2008\projects\helloworld\helloworld\helloworld.cpp (7) : fatal error C1083: Cannot open include file: 'qapplication.h': No such file or directory

First downloaded: http://qt.nokia.com/downloads/sdk-windows-cpp and installed. Which worked by itself, then a little more digging said I had to install the Qt4 Visual Studio Add-in
http://qt.nokia.com/downloads/visual-studio-add-in
Configuring that had issues with the MinGW and refused to find it.

Ok. Then I found these instructions:
http://ngi-central.blogspot.com/2009...al-studio.html
So I uninstalled, reinstalled following those steps, deleted the stuff that makes it crash and let it run. It ran all the way up to fatal error U1077 which from here:
http://msdn.microsoft.com/en-us/libr...8VS.71%29.aspx
Sounds like it was just trying to close.
And also set the Path var to include c:\Qt\2010.5\bin\

Went back to configure the Add-in and it still complained that there was minGW installed. Time for some more digging....

Then I found a post (which i've closed already) stating that that this version of Qt needed to be installed instead: http://qt.nokia.com/downloads/windows-cpp-vs2008

So installed that. And then the Qt Add-in automatically found C:\Qt\4.7.0\ folder.
Still no dice.

A little more found me here: http://sector.ynet.sk/qt4-tutorial/preparations.html

So now I have the QTDIR var set to c:\Qt\4.7.0\ and c:\Qt\4.7.0\bin

All this time I still get the original error stated above.

Is QT really this hard to install or have I hit the unlucky streak?

Help please, thanks.