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

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

      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)

        For Gerrit Dashboard: QTBUG-69087
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes