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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: P2: Important P2: Important
    • None
    • 6.0.0 Alpha
    • None
    • Linux/X11

      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>

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

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

              Created:
              Updated:
              Resolved:

                There is 1 open Gerrit change