Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.10.0-beta2
-
Ubuntu 18.04 LTS 64 bit
-
47312b04c0878e0c308794cde08e92c03d4be29e (qt-creator/qt-creator/4.10)
Description
- Create a new Qt Widgets Application.
- Open the project's file mainwindow.ui in Design mode.
- Drag a Push Button onto the Window preview.
- Open the project's file mainwindow.cpp.
- In the ctor of MainWindow, add the line:
ui.
and wait for the proposal popup.
There will be no such popup. - Remove the line and build the project.
- Repeat step 5.
Now the popup appears and it contains the Push Button.
Creator 4.9 shows the right proposals without building the project, regardless of whether it was built with libclang 7 or 8.
Found by Squish test tst_designer_autocomplete.
Attachments
Issue Links
- is replaced by
-
QTCREATORBUG-22740 [REG 4.9 -> 4.10] No code completion for elements from unsaved .ui file
- Closed
- relates to
-
QTCREATORBUG-28787 No code completion for elements from .ui file in CMake project
- Closed
For Gerrit Dashboard: QTCREATORBUG-22624 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
267110,3 | QtSupport: Fix header guard for ui files | 4.10 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |