QPA is Qt platform abstraction, wherein you can develop your own plugin for embedded systems. It basically replaces the platform port.
QPA is well developed in QT5, maybe you can consider using it. You need to resolve these compilation issues on your own and if you are planning on how to use QPA, minimal plugin is the best choice.
You can resolve these issues, basically by including ApplicationService framework and header. Hope this helps.