[Moved] Qt Creator saying no valid qt versions found please add a qt version when creating a new project
-
Thanks for fast reply.
Can you be a little more specific because .... hmmm... I do not have any "qmake" in my qt folder (and anywhere else). I did have it while SDK was installed. -
[quote author="lordmonkey" date="1309171552"]
Can you be a little more specific because .... hmmm... I do not have any "qmake" in my qt folder (and anywhere else). I did have it while SDK was installed.[/quote]Probably you need to be a little more specific how you have gotten your last qt setup. When qmake is missing this is probably that something went wrong with the setup.
-
I have uninstalled it, reboot and installed it again and still the same. Just to be clear I have this version of Qt http://qt.nokia.com/downloads/qt-creator-binary-for-windows .
Maybe I should download something else ? -
this is path to Qt Creator not qt binaries. Are you sure you got qt binaries from this path..
Below path has Qt Libraries ..
http://qt.nokia.com/downloads/downloads#qt-libto be more precise http://qt.nokia.com/downloads/windows-cpp
-
to be more precise http://qt.nokia.com/downloads/windows-cpp
-
Ok, thanks. I'm gonna download it and then I will post an update if it works but still one more question: what is going on with VS and mingw versions ? I have VS installed on my PC and I use it so should I install the mingw version then ?
-
[quote author="lordmonkey" date="1309173355"]I have uninstalled it, reboot and installed it again and still the same. Just to be clear I have this version of Qt http://qt.nokia.com/downloads/qt-creator-binary-for-windows .
Maybe I should download something else ? [/quote]
Vijay is right. You have installed the creator only. You may use the link as provided by him.
Alternatively you may download the qt source and compile it yourself. The way you want to go may depend on the compilers you want to use. -
minGW is ok. If I am correct, with minGW your QtCretor uses GCC C++ compiler to compile your code, and with VS, QtCreator uses VS C++ compiler to compile your code.
If you want to make sure that you code compiles will on Linux ( if you are planning to move to Linux in the future), it makes sense to use mingGW. But I am not expert in this area.
But in your case, anything should be fine. The below link may help you...
http://doc.qt.nokia.com/qtcreator-snapshot/creator-project-qmake.html
Somebody can correct me if I am wrong..
-
[quote author="lordmonkey" date="1309173826"] I have VS installed on my PC and I use it so should I install the mingw version then ? [/quote]
I am using VS2005. I would download the qt source then and so the compilation. The binaries of mingw are not compatible with vs to my understanding.
You can get it "here":http://qt.nokia.com/downloads/windows-cpp-vs2008 . You see also the link for the source on this page. Possibly, you can use also the .exe . However, i have no experience with this.Edit: If you like to use qt creator instead of visual studio, it could be better to go with mingw.
-
I don't suggest to download sources and compile them. We already have compiled libraries available ( for both minGW and for VS). You can make use of them. Compilation may be needed if you are making changes to qt itself. But I don't think you do that. If you want to use qt with your VS, please use vs version of libraries. Please excuse me for my old post, its not clear.
-
Ok but can anyone point the differences between these libraries (VS version ) and VS Qt add on ? ( http://qt.nokia.com/downloads/visual-studio-add-in )
-
[quote author="lordmonkey" date="1309174794"]Ok but can anyone point the differences between these libraries (VS version ) and VS Qt add on ? ( http://qt.nokia.com/downloads/visual-studio-add-in ) [/quote]
The add-ins are only tools for easier handling of qt within vs. You need to have both.
-
Look at "What is the Qt Visual Studio add-in?":http://developer.qt.nokia.com/faq/answer/what_is_the_qt_visual_studio_add-in
-
Ok, so I have installed these libraries, I have qmake and I have added it in the creator's tools > options but there is a small text box on the bottom of this window saying : qt version is not properly installed, please run make install. How should I do this ?
-
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.
-
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..
-
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" -
:( .. I will download qt libraries and see how it goes for me.
-
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.