Skip to content

Commit

Permalink
Stop using deprecated wayland-scanner argument
Browse files Browse the repository at this point in the history
The argument "code" is deprecated. Use "public-code" instead.

Task-number: QTBUG-73099
Change-Id: I3e822df956613d4f8338525324ffca744f27bc0c
Reviewed-by: Eskil Abrahamsen Blomfeldt <[email protected]>
  • Loading branch information
paulolav committed Jul 21, 2020
1 parent cdecf0e commit b4dbc22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mkspecs/features/wayland-scanner.prf
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ wayland_code.name = wayland ${QMAKE_FILE_BASE}
wayland_code.input = WAYLANDCLIENTSOURCES WAYLANDSERVERSOURCES
wayland_code.variable_out = SOURCES
wayland_code.output = wayland-${QMAKE_FILE_BASE}-protocol.c
wayland_code.commands = $$QMAKE_WAYLAND_SCANNER --include-core-only code < ${QMAKE_FILE_IN} > ${QMAKE_FILE_OUT}
wayland_code.commands = $$QMAKE_WAYLAND_SCANNER --include-core-only public-code < ${QMAKE_FILE_IN} > ${QMAKE_FILE_OUT}
silent:wayland_code.commands = @echo Wayland code header ${QMAKE_FILE_IN} && $$wayland_code.commands
QMAKE_EXTRA_COMPILERS += wayland_code

Expand Down

0 comments on commit b4dbc22

Please sign in to comment.