-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
Qt Creator 9.0.1
-
Ubuntu 20.04 LTS
-
b7f235edb (9.0)
- Create a new Qt Widgets Application using build system CMake.
- 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.
When using qmake instead of CMake, the proposal popup will appear and show "pushButton".
Found and tested by Squish test tst_designer_autocomplete.
- relates to
-
QTCREATORBUG-22624 [REG 4.9 -> 4.10] No code completion for ui elements
-
- Closed
-
| For Gerrit Dashboard: QTCREATORBUG-28787 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 459521,2 | SquishTests: Avoid known bug with CMake-based Widgets projects | 9.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
| 494661,3 | CMakePM: Fix AUTOUIC ui_header.h file code completion | 11.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |