PDA

View Full Version : No valid qt versions found. Please add a qt verstion in tool/options



sankar
13th September 2011, 07:22
Hi,
I have installed Qt and Qt Creator in my machine, When I try to create a new project it throws the following error,


No valid qt versions found. Please add a qt version in tool/options or via the maintenance tool of the SDK

Step 1: Installed Qt 4.4.3 and then ran Qt 4.4.3 Command Prompt


Setting up a Qt environment...
-- QTDIR set to C:\Qt\4.4.3
-- Added C:\Qt\4.4.3\bin to PATH
-- QMAKESPEC set to "win32-msvc2008"
Setting environment for using Microsoft Visual Studio 2008 x86 tools.


Step 2: Installed Qt Creator 2.2.1.

Step 3: Tried to create new Qt project, but it throws the above mentioned error. The strange thing is, it could successfully open a Qt project created in some other machine and we could successfully build and run the application.

Verified the following settings in Qt Creator,
1) Verified Qt related environment variables and they are added as expected.
2) Tool—>Options—>Qt4 = Auto-detected Qt in path correctly.
3) Tool—>Options—>Tool Chains = Auto-detected MinGW & MSVC.

Regards,
Sankar.

MattPhillips
10th October 2011, 06:00
Why don't you just upgrade to a more recent version of Qt (4.7.x) and see how things go there? QtCreator 2.x is far more recent than Qt 4.4, your problem might be in an incompatibility there.