Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
Qt Creator 14.0.0, Qt Creator 16.0.0
-
None
-
19a13932a45860dec80f410a886408c481114c64
Description
- create a dummy CMake project
- change the add_executable line in the CMakeLists.txt to "add_executable()". Save and ignore the error, or don't save.
- Add e.g. a C++ source files with the wizard. Click through with the defaults, including adding it to the project
-> QtC crashes in CMakeBuildSystem::addSrcFiles,
const std::string target_name = function->Arguments().front().Value;
"function" is the add_executable call, but since that doesn't have any arguments, Arguments().front() leads to a crash.