[Qt-interest] Set gcc compiler

Anil H dspinside at gmail.com
Thu Jun 11 12:18:44 CEST 2009


Hi,
I had done sample c libraries and integrated the c library with QT based GUI
applications. In the process I observed that QT automatically compiles with
GCC depending on the file extension. If source file added to the project is
of .c extensions , QT-Creator compiles with GCC. However GUI related .cpp
files are compiled using g++.

Regards
Anil

2009/6/11 Tiago Correia <tiago at cnotinfor.pt>

> Hi,
> I'm doing a C project, and I'd like to use QtCreator for coding.
>
> How can I set my project to use gcc, instead of g++.
>
> I've tried to set some flags in the pro file, but it didn't solve my
> problem (QMAKE_CC, QMAKE_CXX, QMAKE_CXXFLAGS)
>
> --
> Tiago Correia
> chief technology officer
>
> cnoti inovação & desenvolvimento – Aprendizagem enRiquecida pela Tecnologia
> www.cnotinfor.pt
> Telefone: +351 239 499 231
>
> Subscreva gratuitamente a nossa Newsletter BICA – Boletim informativo de
> Interactividade, Comunicação e Aprendizagem
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090611/3690a5b5/attachment.html 


More information about the Qt-interest-old mailing list