[Qt-creator] How to add -fopenmp to a project
erik.verbruggen at nokia.com
erik.verbruggen at nokia.com
Wed Apr 14 17:48:23 CEST 2010
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
> Qt-creator at trolltech.com
> 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
More information about the Qt-creator-old
mailing list