Hello Paul,

On Apr 14, 2010, at 17:37 , ext Paul Smith wrote:

> Dear All,
> 
> How to add
> 
> -fopenmp
> 
> to g++ of a project?
> 
> Thanks in advance,
> 
> Paul
> _______________________________________________
> Qt-creator mailing list
> [email protected]
> http://lists.trolltech.com/mailman/listinfo/qt-creator

Assuming you are using qmake projects, you can do this by adding the line to 
your .pro file:

   QMAKE_CXXFLAGS+=-fopenmp

Regards,
Erik.

--
Erik Verbruggen
Software Engineer
Nokia, Qt Development Frameworks

Nokia gate5 GmbH
Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443B
Umsatzsteueridentifikationsnummer: DE 812 845 193
Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori


_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to