Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
Qt Creator 2.8.0
-
None
-
072b7c571846c187daf79e779b64557ca8b065b8
Description
1. Create/Import a generic project (e.g. a previously created Qt Gui Application)
2. Open mainwindow.h and put the cursor on the declaration of the constructor.
3. Hit F2 to go to the definition in mainwindow.cpp - that works.
4. Close mainwindow.cpp
5. Add a file to the generic project
6. Hit again F2 on the constructor declaration - nothing happens. The generated output is "undefined document: /home/nikolai/dev/creator/qtcreator-2.8-debug-build-qt5/bin/untitled/mainwindow.h"
This is a regression from 2.7
The underlying problem is that the GenericProject calls updateSourceFiles() only with the added files instead of all files (as e.g. the Qt4Project does).
Attachments
For Gerrit Dashboard: QTCREATORBUG-9780 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
60813,2 | GenericProjectManager: Pass the code model all files to update | 2.8 | qt-creator/qt-creator | Status: ABANDONED | +2 | 0 |