Compilation fails because we actually reference a private header for wayland support.
rpcs3/rpcs3qt/gs_frame.cpp:42:10: fatal error: 'qpa/qplatformnativeinterface.h' file not found
A simple workaround is to just import the full thing. Private files are now versioned, so the path becomes:
#include <6.10.0/QtGui/qpa/qplatformnativeinterface.h>
Or just never compile for wayland I guess lol. This is mostly here until I figure out what needs to be done to solve the issue without private header usage.