If I create a project from the Qt creator using the VS 2010 compiler, how to enable OpenMP (when creating from visual studio, you just enable this function) Thanks
Try the following in your .pro file
in case of msvc2010
QMAKE_CXXFLAGS+= -openmp QMAKE_LFLAGS += -openmp
or
QMAKE_CXXFLAGS+= -fopenmp QMAKE_LFLAGS += -fopenmp
in case of gcc
Source: https://habr.com/ru/post/1402792/More articles:Javadoc-like info fields for visual C ++ - c ++Troubleshoot PHPUnit xdebug remote debugging using PHPStorm - phpAndroid text for speech Male voice - javaTTS male voice from TTS - androidMoving jumplist to Vim with tab displayed elsewhere - vimHow to compile .jar with jre? - javaHow to calculate Centroid - c #Resize frame components in full screen - javabest way to customize parent div - javascript - javascriptReading input using pygame - pythonAll Articles