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
-
welcome to devnet
[quote author="coder.freak" date="1332498798"]
C:\QtSDK\QtCreator\bin\jom.exe exited with code 2
what does this mean... [/quote]
Simply that an error occured in jom.
[quote author="coder.freak" date="1332498798"]
How to resolve this?[/quote]
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.
-
@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
-
[quote author="coder.freak" date="1332599001"]@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
[/quote]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. -
[quote author="coder.freak" date="1332599001"]@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
[/quote]"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.
-
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.