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

Wayland extension XML file unnecessarily needs to match protocol

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P4: Low
    • None
    • 6.4.1
    • Wayland Compositor
    • None
    • Linux/Wayland

    Description

      Auto generating sources for a Wayland extension from an XML file (e.g. with qt6_generate_wayland_protocol_server_sources) requires the file name to match the protocol name within the XML code. The reason is that auto generated file names are derived from the XML file name, but the actual code (like #include files) is derived from the protocol name. This restriction is unnecessary. The problem exists with cmake, as well as with qmake.

      Attachments

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

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            bweimer Bernd Weimer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes