[Moved] Qt Creator saying no valid qt versions found please add a qt version when creating a new project
-
wrote on 27 Jun 2011, 13:56 last edited by
wow.. don't what that is..
- 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..
-
wrote on 27 Jun 2011, 14:08 last edited by
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"!http://i.imgur.com/b0FX0.png!
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" -
wrote on 27 Jun 2011, 16:24 last edited by
:( .. I will download qt libraries and see how it goes for me.
-
wrote on 27 Jun 2011, 17:08 last edited by
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.
[quote author="lordmonkey" date="1309183701"]
And the creator is still saying that there is no qt version :/
[/quote]
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,- open qt project
- Click on "Projects" button
- Highlight the build setup "Desktop"
- Click on drop down list for Qt Version, and select "Desktop" ( since you have named your qt to Desktop)
- Now try to build your application.
-
wrote on 28 Jun 2011, 13:13 last edited by
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.
-
wrote on 28 Jun 2011, 13:25 last edited by
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 >" -
wrote on 28 Jun 2011, 13:29 last edited by
Something like that ?
-
wrote on 28 Jun 2011, 13:31 last edited by
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.
-
wrote on 28 Jun 2011, 13:33 last edited by
It does not work... I have no idea at all what can I do more.
-
wrote on 28 Jun 2011, 13:43 last edited by
Wired.. now its time some "TROLLS" come in and help us :).
-
wrote on 28 Jun 2011, 14:52 last edited by
Do you have a tool chain set up?
-
wrote on 28 Jun 2011, 15:23 last edited by
I do have something like that.
!http://img641.imageshack.us/img641/9916/unledis.png!
and btw: does it make a difference if I have VS 2010 and I have downloaded libraries for 2008 ?
-
wrote on 28 Jun 2011, 15:27 last edited by
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.
-
wrote on 28 Jun 2011, 15:29 last edited by
Thanks for diagnosing that but can you explain that a little bit more ?
-
wrote on 28 Jun 2011, 15:35 last edited by
Filed a bug to clarify the message in the target setup page: http://bugreports.qt.nokia.com/browse/QTCREATORBUG-5248
You do not have a tool chain set up that Qt Creator can use to build stuff using the Qt version you have defined. It is not possible to mix a Qt build with MSVC2008 with binaries build with MSVC2010, so that is not offered.
Please either downgrade your compiler to MSVC2008 or set up a Qt version build with MSVC2010. I know this sucks, but there is little we can do about this (except to improve the error messages in Creator of course).
-
wrote on 28 Jun 2011, 15:38 last edited by
[quote author="Tobias Hunger" date="1309275327"]or set up a Qt version build with MSVC2010.[/quote]
How can I do that ?
-
wrote on 28 Jun 2011, 16:21 last edited by
or can he get qt libraries built with minGW , download minGW tools , and then use it them in qt creator..
this way don't need to compile the sources??????One drawback is you can not use VisualStudio to develop / debug qt apps.
-
wrote on 28 Jun 2011, 18:58 last edited by
WRRR...
It's freaking impossible. I have just uninstalled msvc version and installed this one for mingw and... the same seg fault as I had in the beginning....
-
wrote on 30 Jun 2011, 21:53 last edited by
Sorry for bumping but :
no rescue for me ? -
wrote on 30 Jun 2011, 22:13 last edited by
So, you get a SIGSEV when running. That can have a lot of reason (in fact, it's the most common error you'll get). What program did you try to run? What you could also try is to "Clear System environment" in the Qt Creator project settings (to make sure you use the correct libs).
27/68