[Qt-interest] Set gcc compiler

Tiago Correia tiago at cnotinfor.pt
Thu Jun 11 23:13:50 CEST 2009


thanks,

That was the problem. I had a main.cpp file, that was empty, but included in
the project.

On Thu, Jun 11, 2009 at 11:18 AM, Anil H <dspinside at gmail.com> wrote:

> 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
>>
>>
>


-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090611/9a0fe83c/attachment.html 


More information about the Qt-interest-old mailing list