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

Add Include for Undefined Identifier: Check also the include paths

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • Qt Creator 2.8.0-rc
    • Qt Creator 2.8.0-rc, Qt Creator 3.0.0-rc1
    • C/C++/Obj-C++ Support
    • None
    • 8180f695f1a9e2a5ff04d8ac764c1f58b6e97649

    Description

      1. In a clean Qt Creator session (no other projects loaded), create a GUI Hello World application without a ui form.
      2. Insert some "QPushButton b;" in a method
      3. Trigger Quick fixes - there is no offer for including <QPushButton>

      Currently the fallback is to look in the Locator if we can find a class with that name. If other projects are open that pull in such a class, the quick fix will be offered.

      Enhance this to look into the include paths!

      Attachments

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

        Activity

          People

            kosjar Nikolai Kosjar
            kosjar Nikolai Kosjar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes