[Moved] Qt Creator saying no valid qt versions found please add a qt version when creating a new project

Page  
2

June 27, 2011

koahnig koahnig
Gene Splicer
2905 posts

I guess you have installed in the binaries of Qt for vs2008?
This is on windows?

Probably you should sketch the steps you have done. The “make install” I have seen so far only on linux, when you provide a prefix in cofigure. However, this might be part now also on Windows. I have never done with the binaries yet.

June 27, 2011

Vijay Bhaska Reddy Vijay Bhaska Reddy
Lab Rat
399 posts

wow.. don’t what that is..
1) open your qt command prompt and run make install.

To get to qt command promopt -> windows desktop -> start -> all programs -> find qt here -> you should find a command prompt inside qt..

From that run “make install”.. and try again to see if Qt Creator detects it.

Or
2) Add qmake.exe dir to PATH variable.. if you qmake.exe is in c:\qt\bin, add c:\qt\bin to PATH variable. Now open Qt Creator, and Qt Creator should automatically detect your Qt. Check it from Tools > Options… > Qt4 >

Sorry to see that you run in to lot of problems..

June 27, 2011

lordmonkey-2 lordmonkey-2
Lab Rat
27 posts

NOW I SEE… I was adding Qt version ( qmake ) from ..qt/make dir instead of ..qt/bin dir .
So now as I have added this I have this “problem”

And the creator is still saying that there is no qt version :/
When I try to build these Helpers (whatever they are ) I get a message that “the qt version has no tool chain”

June 27, 2011

Vijay Bhaska Reddy Vijay Bhaska Reddy
Lab Rat
399 posts

:( .. I will download qt libraries and see how it goes for me.

June 27, 2011

Vijay Bhaska Reddy Vijay Bhaska Reddy
Lab Rat
399 posts

it works just fine for me..

And from the image you have attached, your setup is just fine. Now you should be able to build qt apps from you Qt-Creator. Try it and let us know if it works from Qt-Creator.

lordmonkey wrote:

And the creator is still saying that there is no qt version :/

Where is it saying there is no qt version?? I don’t see it in the image you have posted. Is it complaining when you try to build an app… if this is the case,

1) open qt project
2) Click on “Projects” button
3) Highlight the build setup “Desktop”
4) Click on drop down list for Qt Version, and select “Desktop” ( since you have named your qt to Desktop)
5) Now try to build your application.

June 28, 2011

lordmonkey-2 lordmonkey-2
Lab Rat
27 posts

But I cannot open any project (e.g. an example from ‘qt c++ tutorials’ ) or create one because it keeps saying that I do not have any qt version installed.

June 28, 2011

Vijay Bhaska Reddy Vijay Bhaska Reddy
Lab Rat
399 posts

you have a Target called “Desktop” added. I don’t know whey its not showing it here.

Did you try “Auto-detected” approach like the one I mentioned in my previous posts. Probably worth giving it a try.


2) Add qmake.exe dir to PATH variable.. if you qmake.exe is in c:\qt\bin, add c:\qt\bin to PATH variable. Now open Qt Creator, and Qt Creator should automatically detect your Qt. Check it from Tools > Options… > Qt4 >”

June 28, 2011

lordmonkey-2 lordmonkey-2
Lab Rat
27 posts

Something like that ?

June 28, 2011

Vijay Bhaska Reddy Vijay Bhaska Reddy
Lab Rat
399 posts

exactly … does this work now.. you have “Qt in Path” in Version name and you should get this when you are creating a new project in Target selection page.

June 28, 2011

lordmonkey-2 lordmonkey-2
Lab Rat
27 posts

It does not work… I have no idea at all what can I do more.

June 28, 2011

Vijay Bhaska Reddy Vijay Bhaska Reddy
Lab Rat
399 posts

Wired.. now its time some “TROLLS” come in and help us :).

June 28, 2011

Tobias Hunger Tobias Hunger
Robot Herder
3387 posts

Do you have a tool chain set up?

June 28, 2011

lordmonkey-2 lordmonkey-2
Lab Rat
27 posts

I do have something like that.

and btw: does it make a difference if I have VS 2010 and I have downloaded libraries for 2008 ?

June 28, 2011

Tobias Hunger Tobias Hunger
Robot Herder
3387 posts

Thats it: You have no tool chain set up for your Qt version:-( You need a Qt build with MSVC2010 if you want to use that tool chain.

ToDo: Improve the error message in the project setup wizard.

June 28, 2011

lordmonkey-2 lordmonkey-2
Lab Rat
27 posts

Thanks for diagnosing that but can you explain that a little bit more ?

Page  
2

  ‹‹ Qt Creator for shared library on Mac?      QtCreator suddenly freezes ››

You must log in to post a reply. Not a member yet? Register here!