QMAKE_CXXFLAGS += -std=c++11
QMAKE_CXXFLAGS += -fopenmp -O2
LIBS += -lgomp -lpthread
add these lines to the .pro file
QMAKE_CXXFLAGS += -std=c++11
QMAKE_CXXFLAGS += -fopenmp -O2
LIBS += -lgomp -lpthread
add these lines to the .pro file