You are not logged in.

Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Sunday, February 12th 2012, 1:54pm

Not compiling

I am using a new version of Qt and can't get anything to compile and run. Using a widget program with all the default settings I press play and I get

jom 1.0.4 - empower your cores

'cl' is not recognized as an internal or external command,

operable program or batch file.

command failed with exit code 1

'cl' is not recognized as an internal or external command,

operable program or batch file.

command failed with exit code 1

command failed with exit code 2

The process "C:\QtSDK\QtCreator\bin\jom.exe" exited with code 2.

Error while building project QtWidget (target: Desktop)

When executing build step 'Make'


Is there something I am supposed to configure first? I tried both the latest versions of Qt and have the same problems.

mercodus

Trainee

  • "mercodus" is male

Posts: 60

Location: North Wales, UK

Occupation: Software developer

  • Send private message

2

Saturday, March 3rd 2012, 5:45pm

cl.exe is the C++ compiler that comes with MS Visual Studio, do you have it installed or are you using Mingw?

(I assume that Mingw uses gcc/g++ rather than cl. I haven't used Mingw and am not a Windows user, so I can't install it to have a look)

srikute

Beginner

  • "srikute" is male

Posts: 18

Occupation: Software Engineer

  • Send private message

3

Thursday, August 30th 2012, 1:31pm

make sure about qmake path...