天天看點

qtcreator 裡面使用openmp,c++11

QMAKE_CXXFLAGS += -std=c++11      
QMAKE_CXXFLAGS += -fopenmp -O2      

LIBS += -lgomp -lpthread

add these lines to the .pro file

繼續閱讀