June 27, 2011

lordmonkey-2 lordmonkey-2
Lab Rat
27 posts

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

Page  
1

Hello everyone,
That’s my first thread so please be tolerant ;)
I have recently installed Qt SDK but after having some major problems with it ( http://stackoverflow.com/questions/6487281/qt-segmentation-fault-while-compiling-any-project ) I have uninstalled it and installed only Qt binaries. Now, I have this issue with qt saying me that “no valid qt versions found please add a qt version…” when I create a new project. Qt Creator does not have this updater which was in SDK so that I cannot add versions as it’s needed. Any ideas ?

67 replies

June 27, 2011

Vass Vass
Ant Farmer
740 posts

Try add qt to creator manually.
Tools->Options->Qt4
click button “Add” and set path to qmake

 Signature 


Vasiliy

June 27, 2011

lordmonkey-2 lordmonkey-2
Lab Rat
27 posts

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.

June 27, 2011

koahnig koahnig
Gene Splicer
2901 posts
lordmonkey wrote:
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.

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.

June 27, 2011

lordmonkey-2 lordmonkey-2
Lab Rat
27 posts

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 ?

June 27, 2011

Vijay Bhaska Reddy Vijay Bhaska Reddy
Lab Rat
399 posts

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-lib

to be more precise http://qt.nokia.com/downloads/windows-cpp

June 27, 2011

Vijay Bhaska Reddy Vijay Bhaska Reddy
Lab Rat
399 posts

to be more precise http://qt.nokia.com/downloads/windows-cpp

June 27, 2011

lordmonkey-2 lordmonkey-2
Lab Rat
27 posts

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 ?

June 27, 2011

koahnig koahnig
Gene Splicer
2901 posts

lordmonkey wrote:
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 ?

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.

June 27, 2011

Vijay Bhaska Reddy Vijay Bhaska Reddy
Lab Rat
399 posts

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..

June 27, 2011

koahnig koahnig
Gene Splicer
2901 posts
lordmonkey wrote:
I have VS installed on my PC and I use it so should I install the mingw version then ?

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 [qt.nokia.com] . 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.

June 27, 2011

Vijay Bhaska Reddy Vijay Bhaska Reddy
Lab Rat
399 posts

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.

June 27, 2011

lordmonkey-2 lordmonkey-2
Lab Rat
27 posts

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 )

June 27, 2011

koahnig koahnig
Gene Splicer
2901 posts
lordmonkey wrote:
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 )

The add-ins are only tools for easier handling of qt within vs. You need to have both.

June 27, 2011

Vijay Bhaska Reddy Vijay Bhaska Reddy
Lab Rat
399 posts

Look at What is the Qt Visual Studio add-in? [developer.qt.nokia.com]

June 27, 2011

lordmonkey-2 lordmonkey-2
Lab Rat
27 posts

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 ?

Page  
1

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

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