diff options
author | Ivan Komissarov <abbapoh@gmail.com> | 2021-04-17 21:23:44 +0300 |
---|---|---|
committer | Ivan Komissarov <ABBAPOH@gmail.com> | 2021-04-19 10:41:41 +0000 |
commit | f9ad1f5844af1e42c8de3cf10f6a9597924d9f9e (patch) | |
tree | 48ef6bfa3d2317ba83fc80d330f5bef3f752268e /src/lib/corelib/tools/msvcinfo.h | |
parent | d38fd9fa901cd7f30821367b831676837eb82fe3 (diff) |
Allow to specify windowsSdkVersion
Previously, it was not possible to use older windows SDK version. Fix
that by introducing the new property that is passed to vcvarsall.bat
Task-number: QBS-1498
Change-Id: Ic526eabb8ff82ddd85c93e90fd20421595a121f4
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/lib/corelib/tools/msvcinfo.h')
-rw-r--r-- | src/lib/corelib/tools/msvcinfo.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/corelib/tools/msvcinfo.h b/src/lib/corelib/tools/msvcinfo.h index de4470bf0..d081e5c15 100644 --- a/src/lib/corelib/tools/msvcinfo.h +++ b/src/lib/corelib/tools/msvcinfo.h @@ -81,12 +81,14 @@ public: QString binPath; QString pathPrefix; QString architecture; + QString sdkVersion; QProcessEnvironment environment; MSVC() = default; - MSVC(const QString &clPath, QString arch): - architecture(std::move(arch)) + MSVC(const QString &clPath, QString arch, QString sdkVersion = {}): + architecture(std::move(arch)), + sdkVersion(std::move(sdkVersion)) { QDir parentDir = QFileInfo(clPath).dir(); binPath = parentDir.absolutePath(); |