Quote Originally Posted by wysota View Post
This isn't entirely true you know... You can change environment variables from the command line and I think that's what the question was about.
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.

Quote Originally Posted by Asperamanca View Post
I'll now create my own bat file for starting Creator, as you suggested. THANKS!
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.