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

No documents matching ui_mainwindow.h could be found error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • Qt Creator 4.11.0
    • Editors
    • None
    • Windows 7 64-bit, Qt 5.15.2 mingw (was seeing issue on 5.12 too), Qt creator 4.11.0 (was seeing it on whatever version was distributed with Qt 5.12's release too)
    • Windows

    Description

      Using Qt creator with an existing project, project has 2 .h files, 2 .cpp files and 2 .ui files - the file I am attempting to edit is "mainwindow.ui" and when trying to add a slot I am getting the error "No documents matching ui_mainwindow.h could be found error. Rebuilding the project may help". Have tried rebuilding, cleaning, clearing Qt files and re-opening the project, nothing is resolving the issue. ui_mainwindow.h exists in the build directory only as expected, the project can build fine. When editing the other .ui file I get no such error and all works fine.

      Attachments

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

        Activity

          People

            davschul David Schulz
            thedjnk Mr nK
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes