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

ClangCodeModel: Auto-completion for classes with ui files is broken

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 3.6.0-beta1
    • Qt Creator 3.1.2
    • C/C++/Obj-C++ Support
    • Ubuntu 12.04, 32bit, Qt Creator 3.1.2 snapshot based on Qt5.3.1

    Description

      Steps to reproduce:

      • start Creator with ClangCodeModel plugin, set ClangCodeModel as default code model for C++
      • create Qt Widget Application
      • inside mainwindow.cpp go to the constructor, after 'ui->setupUI(this);' insert a new line with 'ui'
      • hit '.'

      Expected behavior:

      • '.' should switch to '->' and proposal widget comes up

      Current behavior:

      • nothing happens

      Note: It does not matter if one builds the project right after creation. If you type '->' instead of '.' and hit Ctrl+Space the proposal widget doesn't come up as well.

      Attachments

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

        Activity

          People

            erikv Erik Verbruggen
            cstenger Christian Stenger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes