Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-69087

warning about 'Failed to resolve include "debug/moc_predefs.h"' with CONFIG+=no_include_pwd

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P4: Low
    • 5.11.2, 5.12.0
    • 5.11.1, 5.12
    • Build tools: moc
    • None
    • 4c68e2558c8b90f301032f2e29130e6ac509dc21

    Description

      When compiling Qt Creator, moc spits out lots of warnings:

      Warning: Failed to resolve include "debug/moc_predefs.h" for moc file xxxx\myheader.h
      

      This is because of no_include_pwd :

      CONFIG+=no_include_pwd
      

      (minimal example program attached)

      Attachments

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

        Activity

          People

            kkohne Kai Köhne
            kkohne Kai Köhne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes