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

#include using angle-bracket when using QML_ELEMENT

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • 6.12
    • 6.5.1
    • QML: Tooling
    • None
    • macOS

    Description

      When files are processed with moc, the generated files include properly their header with quotes like this :

      #include "../../../../src/project/include/myproject/myheader.h"

       

      When using QML_ELEMENT along with qt_add_qml_module, the $$$_qmltyperegistrations.cpp generated file uses angle-bracket like this :

      #include <myheader.h>

       

      It forces developer to add an include path to the file which should not be necessary.

      Attachments

        Issue Links

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

          Activity

            People

              qtqmlteam Qt Qml Team User
              oxyde Olivier CARRE
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes