Stop using deprecated wayland-scanner argument
The argument "code" is deprecated. Use "public-code" instead. Task-number: QTBUG-73099 Change-Id: Idc8dca127581e07b81d7174ece3312c27b6ba9db Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
This commit is contained in:
parent
7eea720dbd
commit
0815723d6d
@ -19,7 +19,7 @@ function(qt6_generate_wayland_protocol_client_sources target)
|
||||
|
||||
add_custom_command(
|
||||
OUTPUT "${waylandscanner_code_output}"
|
||||
COMMAND Wayland::Scanner --include-core-only code < "${protocol_file}" > "${waylandscanner_code_output}"
|
||||
COMMAND Wayland::Scanner --include-core-only public-code < "${protocol_file}" > "${waylandscanner_code_output}"
|
||||
)
|
||||
|
||||
# TODO: Make this less hacky
|
||||
|
@ -17,7 +17,7 @@ function(qt6_generate_wayland_protocol_server_sources target)
|
||||
)
|
||||
add_custom_command(
|
||||
OUTPUT "${waylandscanner_code_output}"
|
||||
COMMAND Wayland::Scanner --include-core-only code < "${protocol_file}" > "${waylandscanner_code_output}"
|
||||
COMMAND Wayland::Scanner --include-core-only public-code < "${protocol_file}" > "${waylandscanner_code_output}"
|
||||
)
|
||||
|
||||
# TODO: make this less hacky
|
||||
|
Loading…
x
Reference in New Issue
Block a user