Skip to content

Commit d75864b

Browse files
usiemsmrbean-bremen
authored andcommitted
Enable multi-processor compilation for Visual Studio
1 parent 9674bee commit d75864b

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

extensions/PythonQt_QtAll/PythonQt_QtAll.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ include ( ../../build/common.prf )
3838
include ( ../../build/PythonQt.prf )
3939
TARGET = $$replace(TARGET, PythonXY, Python$${PYTHON_VERSION})
4040

41-
CONFIG += qt strict_c++
41+
CONFIG += qt strict_c++ msvc_mp
4242

4343
!static:!staticlib {
4444
CONFIG += dll

generator/generator.pri

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ TEMPLATE = app
55
#CONFIG += cmdline -- does not work as expected with old Qt versions, f.e. is missing in 5.9
66
CONFIG += console
77
CONFIG -= app_bundle
8+
CONFIG += msvc_mp
89

910
TARGET +=
1011
DEPENDPATH += $$GENERATORPATH tests parser

src/src.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ TEMPLATE = lib
99

1010
DESTDIR = ../lib
1111

12-
CONFIG += qt
12+
CONFIG += qt msvc_mp
1313
CONFIG -= flat
1414

1515
# allow to choose static linking through the environment variable PYTHONQT_STATIC

0 commit comments

Comments
 (0)