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

Wayland extension XML file unnecessarily needs to match protocol

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes