Quote Originally Posted by jacek View Post
[. . . ]it should be enough if you start "Qt 4.x.y Command Prompt" (there should be a link in Start menu) --- it will set your environment correctly.
The Readme that comes with Qt 4.2.2 Commercial version has the following paragraph:
DEMOS AND EXAMPLES

Once Qt is installed, we suggest that you take a look at the demos and
examples to see Qt in action. Run the Qt Examples and Demos either by
typing 'qtdemo' on the command line or through the desktop's Start
menu. On Mac OS X, you can find it in /Developers/Applications/Qt.
I just downloaded the Win commercial evaluation version 4.2.2 of Qt. Started the Tutorial and kept getting errors based on the environment variables not being set. I found this quote from Jacek to be a necessary step in getting the environment set up properly. Tutorial t1 doesn't seem to mention this tip, either. I'm glad Jacek mentioned this tip, which may be unnecessary to most people, but not to me.

I suggest this Readme paragraph and the tutorial would be good places to state that the environment is set up by using the command-line option in the Start Menu. The way this paragraph reads now, it appears that going to Start/Run/Command would be acceptable; sadly, this is not the case.

Thanks to Jacek. Glad you're here.