It seemed a little daft to ask how to set environment variables from the command line when you already know how to set them from the command line by using qtenv.bat, hence my suggestion.
Also, as you probably know, environment variables set from the command line are lost when the command line is closed. Environment variables set from the GUI are kept across system reboots.
If you set the variables in the GUI, there's no need for a bat file, and you can start Creator from the desktop rather than from the command prompt.
I use Visual Studio 2008 with this configuration and I have no problems whatsoever - I just set QTDIR in the GUI environment variables page and everything works as it should.
Bookmarks