Details
Description
I'm able to produce the crash with the following steps:
- Delete the user's QtProject directory under AppData/Roaming.
- Open QtCreator then Open settings and under 'Build and Run' add a manual entry for Qt 5.3.1
- Configure the Desktop kit for Qt 5.3.1 using MSVC 2010.
- Open the FakeVim tab and simply just enable 'Use FakeVim'. Save the settings.
- Now select 'New Project'
- Select Applications/Qt Widgets Application, then 'Choose...'
- Create a test project using the Qt 5.3.1 desktop kit.
- Once the project is open, you should see mainwindow.cpp.
- Press 'F4' to switch to mainwindow.h
- Scroll down below the destructor for MainWindow.
- You should be in the vim normal mode at this point. Hit 'o' to switch to insert mode and enter a new line.
- Type 'void test();'
- Press 'Alt-Enter' to bring up the refactoring menu. Select 'Add definition in mainwindow.cpp'
- You should now be back in mainwindow.cpp, now simply press the down arrow key and the program will crash.
I can consistently crash Qt Creator with the above steps.
I'm not sure if it matters but I'm using the Windows 7.1 SDK compiler tools without Visual C++ 2010 installed.