Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-22624

[REG 4.9 -> 4.10] No code completion for ui elements

    XMLWordPrintable

Details

    • 47312b04c0878e0c308794cde08e92c03d4be29e (qt-creator/qt-creator/4.10)

    Description

      1. Create a new Qt Widgets Application.
      2. Open the project's file mainwindow.ui in Design mode.
      3. Drag a Push Button onto the Window preview.
      4. Open the project's file mainwindow.cpp.
      5. In the ctor of MainWindow, add the line:
        ui.
        

        and wait for the proposal popup.
        There will be no such popup.

      6. Remove the line and build the project.
      7. 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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              bubke Marco Bubke
              rlohning Robert Löhning
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes