Details
-
Bug
-
Resolution: Cannot Reproduce
-
Not Evaluated
-
None
-
Qt Creator 4.8.2
-
None
Description
Qt Creator crashes when tries to open a CMake-base project in which has WX_PRECOMP definition. CMake stage seems is passed without any problem. Crash happens on Parsing C/C++ files. To reproduce this download latest wxWidgets sources https://github.com/wxWidgets/wxWidgets/releases/download/v3.0.4/wxWidgets-3.0.4.zip, unpack and put attached CMakeLists.txt to wxWidgets-3.0.4 folder. Then try to open and build CMakeLists.txt in Creator.
CMakeLists.txt:
cmake_minimum_required(VERSION 3.3) project(wxWidgets) include_directories(include) add_definitions(-DWX_PRECOMP) set(SOURCES src/common/any.cpp) add_library(${PROJECT_NAME} SHARED ${SOURCES})