Using Qt with custom MinGW

Posted by ereOn on Stack Overflow See other posts from Stack Overflow or by ereOn
Published on 2010-05-31T08:49:32Z Indexed on 2010/05/31 8:52 UTC
Read the original article Hit count: 246

Filed under:
|
|
|
|

Hi,

I don't know if this question would fit better on superuser.com, but since it's rather compiler related, I give it a try here.

I have to use Qt with a specific version of gcc (4.5). I downloaded the last official Qt release for Windows (Vista, 32 bits version) and didn't install the shipped MinGW version; I just installed the Qt libraries/binaries.

In a console, when I type qmake && make, make fails, complaining that 'g++' is not recognized as an internal command.

If I type g++ in the same console, I however have the following output:

g++: no input files

So g++ is definitely recognized.

For those who may ask, both the Qt binaries directory and MinGW binaries directory are in the system PATH environment variable.

What could be wrong here ?

© Stack Overflow or respective owner

Related posts about c++

Related posts about Windows