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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P2: Important
    • None
    • 6.0.0 Alpha
    • None
    • 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

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There is 1 open Gerrit change