Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
Qt Creator 9.0.1
-
Ubuntu 20.04 LTS
-
b7f235edb (9.0), c4e15769e (11.0)
Description
- 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.
Attachments
Issue Links
- is duplicated by
-
QTCREATORBUG-29465 CMake projects do not update code model when Widgets UI elements are added, deleted or renamed
- Closed
-
QTCREATORBUG-29489 Incorrect "include" in New Application template
- Closed
-
QTCREATORBUG-28464 Regression: Can't open ui_xxx.h files
- Closed
- relates to
-
QTCREATORBUG-22624 [REG 4.9 -> 4.10] No code completion for ui elements
- Closed