-
Type:
Bug
-
Status: Closed
-
Priority:
P2: Important
-
Resolution: Done
-
Affects Version/s: Qt Creator 4.13.2
-
Fix Version/s: Qt Creator 4.15.0-beta1 (master branch)
-
Component/s: C/C++/Obj-C++ Support, Project & Build Management: CMake
-
Labels:
-
Platform/s:
-
Commits:6cbdae80706a8e782a52fb41e52ae53f396f7ccb (qt-creator/qt-creator/master)
If I open the CMakeLists.txt in tha attachment, accept the configuration for Visual Studio 2019 (I have the community version installed), then try to build, I get the output ("..snip" was edited) like:
Running ..snip\qt\Tools\CMake_64\bin\cmake.exe -S ..snip/AppData/Local/Temp/QtCreator-uWVRcU/qtc-cmake-qcIWrqnN "-GVisual Studio 16 2019" "-A<unsupported>" "-T<unsupported>" "-DCMAKE_BUILD_TYPE:String=Debug" ....snip
– Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.16299.
CMake Error at CMakeLists.txt:3 (project):
Failed to run MSBuild command:
..snip
error MSB4184: Der Ausdruck "[System.IO.Path]::Combine(obj\<unsupported>\Debug\, .NETFramework,Version=v4.0.AssemblyAttributes.cpp)" kann nicht ausgewertet werden.
It seems creator is calling cmake with invalid platform and toolset names
("-A<unsupported>" "-T<unsupported>" ).
Seems connected to
https://bugreports.qt.io/browse/QTCREATORBUG-24883
- replaces
-
QTCREATORBUG-24883 Value <unsupported> should not appear in CMake platform & Toolset
-
- Closed
-
For Gerrit Dashboard: QTCREATORBUG-24984 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
330077,14 | CMakeProjectManager: Support for multi-config generators | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |