March 23, 2012

coder.freak coder.freak
Lab Rat
4 posts

Qt SDK not working

 

Whenever i try building a GUI project in QT Qt creator, it says:
C:\QtSDK\QtCreator\bin\jom.exe exited with code 2
what does this mean… How to resolve this?

edit: Muffled the title a bit to get rid of the shouting in ALL CAPS, and it’s called Qt, not QT; Andre

5 replies

March 23, 2012

koahnig koahnig
Area 51 Engineer
2873 posts

welcome to devnet

coder.freak wrote:

C:\QtSDK\QtCreator\bin\jom.exe exited with code 2
what does this mean…

Simply that an error occured in jom.
coder.freak wrote:

How to resolve this?

There should be some messages before this line. Analyse those lines, say are actually telling what the problem is.

If you need help on the analysis, you may want to post those lines.

BTW: All capital letters means typically shouting. You might need help urgently, but people are sensitive about such things. You should consult the posting rules.

March 24, 2012

coder.freak coder.freak
Lab Rat
4 posts

@Koahnig:
Thanks a lot!!!
The issue got resolved when i tried running Qt in Windows XP.
But, when Qt is running in windows 7 it says:Error during Build.
I don’t know why….But the same project worked fine in XP!!

And i promise u that i will not write in capitals again

March 24, 2012

koahnig koahnig
Area 51 Engineer
2873 posts

coder.freak wrote:
@Koahnig:
Thanks a lot!!!
The issue got resolved when i tried running Qt in Windows XP.
But, when Qt is running in windows 7 it says:Error during Build.
I don’t know why….But the same project worked fine in XP!!

And i promise u that i will not write in capitals again

How did you get the project to win 7?
In case it is basically the same because of a dual boot system, it could the user specific stuff requires update. The same problem may appear when you are copying a complete directory. Make sure that you are rerunning qmake.

March 25, 2012

miroslav miroslav
Lab Rat
228 posts

coder.freak wrote:
@Koahnig:
Thanks a lot!!!
The issue got resolved when i tried running Qt in Windows XP.
But, when Qt is running in windows 7 it says:Error during Build.
I don’t know why….But the same project worked fine in XP!!

And i promise u that i will not write in capitals again

“Error during build” is the most generic error message at the end, when the build process exits. It can have any reason. To be able to help you, you should try to find the more specific error messages in the build output a few lines up, and post them here.

 Signature 

Mirko Boehm | .(JavaScript must be enabled to view this email address) | KDE e.V.
FSFE Fellow
Qt Certified Specialist

November 9, 2012

Boysie Boysie
Lab Rat
7 posts

I found that Qt Creator 2.6.0 doesn’t run qmake for the windows installation. If you do this at the command-line and build from Qt Creator with the resulting Makefile you can then load the .exe file target when Qt Creator tries to run .exe.

Once you have done this once, ie. the Makefile exists and .exe file setup in Qt Creator it works fine.

I set the Windows user Environment variable $PATH to include C:\Qt\4.8.3\bin but not sure if that was necessary. The windows installation of Qt shouldn’t have these problems.

 
  ‹‹ Qt SVG Editor: How to resize svg image and save it back in SVG form as a resized image.!      Web Server Implementation ››

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