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

CodeModel: generated ui_*.h files seem to have a broken code model

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • None
    • Qt Creator 3.4.0-rc1
    • C/C++/Obj-C++ Support
    • Ubuntu 12.04 32bit, QC 3.4

    Description

      Steps to reproduce:

      • create a Qt Widget Application from QC's template
      • build the project
      • open the mainwindow.cpp file, hold Ctrl and click onto the include for the ui_mainwindow.h file

      Current result:

      • check the highlighting
        • seems to be almost broken
      • try to click on one of the includes or one of the symbols holding Ctrl
        • some of the includes (normally the last 3?) aren't clickable at all
        • if you click an include you're following into a file of an include 3 ( ? ) lines below
        • if you click a symbol it depends on which you click if you're following to its declaration or not

      Note: this seems to work fine, when using the clang code model, but appears to be broken for the Qt Creator built-in code model

      Attachments

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

        Activity

          People

            kosjar Nikolai Kosjar
            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