PDA

View Full Version : How to specify compiler version in project file



mdecandia
18th May 2007, 12:00
Hi all,
how may I specify the compiler to use in make process into .pro file? I have two gcc versions installed on my machine (gcc4 and gcc3.4) and I want to use the second one. If I specify in .pro file "CC=gcc34", the Makefile is done again with CC=gcc.

Somebody may help me?

Thanks,
Michele De Candia

wysota
18th May 2007, 12:03
QMAKE_CC variable is responsible for that.

mdecandia
18th May 2007, 12:03
I've just founded :)

QMAKE_CC = gcc34

Bye
Michele