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

Qt6's *_qmltyperegistrations.cpp generation breaks when using includes with folder names

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Won't Do
    • Affects Version/s: 6.0.0 Alpha
    • Fix Version/s: None
    • Labels:
      None
    • Platform/s:
      Linux/X11

      Description

      given the files: src/foo/bar.cpp,src/foo/bar.h} and an include path of -I src/ moc generates a moc_bar.cpp.json which has "inputFile": "bar.h".

      This is then picked up by qmltyperegistrar.cpp which tries to generate a: #include <bar.h> while it should be: #include <foo/bar.h>

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              fabiankosmale Fabian Kosmale
              Reporter:
              ablu Erik Schilling
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There is 1 open Gerrit change