thanks for the help so far! I managed to build QT4 correctly by specifying what qmake and qmakespec i wanted to run. I successfully can build the examples but now when I try to run one of the .exe I get this error.

Qt Code:
  1. animatedtiles.exe - Entry Point Not Found
  2. The procedure entry point "?free@QVectorData@@SAXPAU1@H@Z" could not be located in the dynamic link library QtCored4.dll
To copy to clipboard, switch view to plain text mode 

I tried to move the QtCored4.dll to the debug folder but still did not work. Any idea?