Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-22265

Crash on parsing wxWidgets files

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • Qt Creator 4.8.2
    • C/C++/Obj-C++ Support
    • None
    • Windows

    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})

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kosjar Nikolai Kosjar
            taurus Ivan Romanov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes