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

Crash on parsing wxWidgets files

XMLWordPrintable

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

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

       

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes