This Unreal Fest Europe 2019 presentation by Ocolus VR’s Software Engineer Loren McQuade shows how to configure, build, deploy, debug, and profile your UE4 project for Oculus Rift and Oculus Quest.
https://dev.epicgames.com/community/learning/talks-and-demos/wLK/using-ue4-to-develop-for-oculus-rift-and-oculus-quest-unreal-fest-europe-2019-unreal-engine