PDA

View Full Version : Error -"QT version is not properly installed, please run make install" on Windows XP



makbarin
16th October 2010, 23:40
I installed the latest version of QT Sdk for windows on my machine and I am getting the following error.

"QT version is not properly installed, please run make install"

Please Help.

Lykurg
17th October 2010, 08:07
Did you get any errors during installation and when do you get the mentioned error?

makbarin
17th October 2010, 15:48
No I did not. everything went as usual. next ok next finish.

but for build time I get the error that my enviroment is not set so I wen to tools/Option then Qt4 then manual then abin/qt/ and choose qmake.

still the same error pops up.

Lykurg
17th October 2010, 15:56
Right now I am not at my windows box but the path should be like "c:\qt\2010.5\src\bin".

wysota
17th October 2010, 15:58
It would rather be c:\qt\2010.05\qt\bin

makbarin
18th October 2010, 02:56
I can not find any bin folder under src directory.

This is the screen shot of my setting. I notice I can not see minGW path after I select the qmake path.

Thanks

makbarin
18th October 2010, 03:43
Still the same I can not build anything.

wysota
18th October 2010, 07:22
How does "can't build anything" manifest itself? Did you choose the right version of Qt for your project?

makbarin
18th October 2010, 16:38
well , I am working on a project with some other classmates, they all have diffrent version of Qt on their system. I did the following:

1- I downloaded the latest version of the Qt from the website. ( Qt SDK for Windows* (322 MB) )

1-1 followed the instruction.

2-Then under File/ OpenFile, Project Opened my project

2-1 and I got the Project Setup message ( look at the attachment) , I clicked Finish

3- Then I Tried to build and I get this error : ( Look at the attachment )

Could not find make command: make in the build environment
Error while building project SampleGUI (target: Desktop)
When executing build step 'Make'

4- then I added the path from here : c:\qt\2010.05\qt\bin

( look at the attachment)

but I can not build the project.

wysota
18th October 2010, 16:49
Creator can't find Qt in your path (which means you did something non-standard while installing the SDK). Please make sure you don't start Creator in some non-standard way. Make sure you have MinGW installed (it should get installed during the installation of the SDK) and that you don't have any other "make" (like the one from Cygwin) in your path.

makbarin
18th October 2010, 17:29
Ok!

I deleted the Cygwin and mingw that I installed separately to get the Qt working from C:\mingw and C:\Cygwin .

Than I uninstalled Qt and installed Qt again.

I followed the instruction by clicking next and ok, and I still get the same error.

wysota
18th October 2010, 17:55
Was Creator able to find Qt installation in your PATH?

makbarin
18th October 2010, 17:58
What are you referring to by "Was Creator able to find find Qt installation in your PATH" ?

I still get this message ( look at the attachment)



Was Creator able to find Qt installation in your PATH?

wysota
18th October 2010, 18:01
Look at the last attachment in post #9.

makbarin
18th October 2010, 18:04
Nothing changed since #9. I get all of those again.



Look at the last attachment in post #9.

wysota
18th October 2010, 18:26
Currently your project is set up to use the version of Qt that is found in PATH and since your PATH doesn't contain Qt, you can't build the project. Either run Creator with PATH pointing to your Qt installation (you may use the Qt Command prompt to do it - launch it and then launch Creator from there) or switch the project build to use the version of Qt you have set up manually.

makbarin
18th October 2010, 19:16
What do you mean by "since your PATH doesn't contain Qt, "?
Can you give me some direction?



Thank you



Currently your project is set up to use the version of Qt that is found in PATH and since your PATH doesn't contain Qt, you can't build the project. Either run Creator with PATH pointing to your Qt installation (you may use the Qt Command prompt to do it - launch it and then launch Creator from there) or switch the project build to use the version of Qt you have set up manually.

wysota
18th October 2010, 19:27
What do you mean by "since your PATH doesn't contain Qt, "?
Look at the last attachment in #9 again, especially the part that says "not found". If you don't know what PATH is or how to manipulate it on your system, google for it.


Can you give me some direction?
I already did that.

makbarin
18th October 2010, 19:36
The path you mention its suppose to be found by qt automatically as it says.

Im trying to solve ths issue from google for past month thats why i am here now.

Iam doing everything normally and as usual . I tried on other computer and work just fine .

So you are saying i need to add the PATH to the not found place manually?



Look at the last attachment in #9 again, especially the part that says "not found". If you don't know what PATH is or how to manipulate it on your system, google for it.


I already did that.

wysota
18th October 2010, 20:07
The path you mention its suppose to be found by qt automatically as it says.
No, Creator is looking in PATH for Qt, it doesn't look for path.


So you are saying i need to add the PATH to the not found place manually?
You don't add PATH to anything. If at all, you may add something to PATH. Please just google for Windows+setting+PATH or something similar if you want to know what I'm talking about. But it will really be easier if you switch your project to the Qt version you have set manually - open the "Projects" pane for your project and set the version of Qt to the proper one. If you use some very old version of the Qt SDK, you might need to change this setting elsewhere.

tarun27sh
20th October 2010, 12:57
Hi
I had the same problem with QT v 4.7.0 on my machine.
Struggled for a couple of weeks but finally understood what was going wrong.

Go to tools>options>QT4>QT version
Place your cursor on the "path" in "MANUAL".

Do u see any invalid paths set for different variables (like for SRC, QT_INSTALL_LIBS, QT_INSTALL_DEMOS etc). Something like C:\QT\Trolltech............
If yes, then the problem is there`s a shell script which did not run during the installation process due to SOME reason.


SOLUTION:
Go to your QT directory (like mine is "C:\Qt\2010.05\qt"). There will be a file with the name "configure". This is the file I am talking about.
Go to QT command prompt and type "configure" and enter..This will take around 30 min.

After which it will ask you to configure "mingw32-make" in the QT command prompt only. JUst write "mingw32-make" and press enter. This will take around 15 min.

Restart your computer.
It should work now.

wysota
20th October 2010, 13:25
I would rather suggest to reinstall the Qt SDK. What is suggested here can easily fall apart as you are effectively rebuilding Qt only to get a qmake pointing to the right path (patching which should have been done by the installer).

And you surely don't have to restart your computer in either case ;)