Error compiling with use_quic

Dears,
This is the release I try to test it for QUIC protocol: quic-dev-20210413-quic-rebased
When compiling it without quic it compiled an run correctly, and show the version: haproxy version is 2.4-dev16-aba24570

But with quic it give compile error as follow:
#make TARGET=linux-glibc USE_OPENSSL=1 USE_ZLIB=1 USE_PCRE=1 USE_SYSTEMD=1 USE_QUIC=1
CC src/ev_poll.o
CC src/ev_epoll.o
CC src/ssl_sample.o
In file included from include/haproxy/listener-t.h:39,
from include/haproxy/connection-t.h:37,
from include/haproxy/check-t.h:22,
from include/haproxy/server-t.h:32,
from include/haproxy/lb_map-t.h:26,
from include/haproxy/backend-t.h:30,
from include/haproxy/proxy-t.h:35,
from include/haproxy/applet-t.h:31,
from include/haproxy/obj_type.h:26,
from src/ssl_sample.c:27:
include/haproxy/xprt_quic-t.h:527:30: error: field ‘level’ has incomplete type
527 | enum ssl_encryption_level_t level;
| ^~~~~
make: *** [Makefile:932: src/ssl_sample.o] Error 1

Also I need any docs/hint about quic configuration.

Your help please.
Thank you.

you have to compile quictls.

as zino said: quictls is essential, also i think you should use haproxy 2.6.x as this versions comes with a (near production final) release quic. i think 2.4 was experimental

markus