Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
Qt Creator 4.15.1, Qt Creator 5.0.0-beta1
-
None
-
4d27740bafe51de363275a36e81379063dfd8b37 (qt-creator/qt-creator/5.0)
Description
How to reproduce:
- create a minimal Widgets Application (qmake or cmake)
- what does work:
- open the .ui file, add/rename a component
- switch to the widget.cpp file with or without saving the .ui file
- the changes done to the .ui file are visible to the code in widget.cpp, e.g. in completion and error checking
- what does not work:
- the above, after a build of the project has been done. The generated files from the build system override the internal result of the ExtraCompilers. The ExtraCompilers themselves run and work fine.
This works correctly with the built-in code model (-noload ClangCodeModel).
Also works correctly for the global index (built-in, can be tested by changing e.g. the objectName of the widget class, and using locator "c" to see if the new class name is there).
Attachments
Issue Links
- is duplicated by
-
QTCREATORBUG-25853 Autocomplete isn't updating when a header file changes
- Closed
-
QTCREATORBUG-25854 Automatic UIC calling for form files edited in the designer
- Closed
- relates to
-
QTCREATORBUG-25938 Qbs project manager does not create ExtraCompilers (for ui/scxml files)
- Closed
- replaces
-
QTCREATORBUG-24476 autocomplete is fail when using clang code model plugin
- Closed
-
QTCREATORBUG-24598 Run uic when saving an ui file with the designer editor
- Closed
For Gerrit Dashboard: QTCREATORBUG-25937 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
357867,2 | ClangCodeModel: Prefer ui headers from ExtraCompilers | 5.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |