If the storage is a SAN device, you can attache t directly to your server HBA ports or SAN SW.
Otherwise, you can configure iSCSI or NFS on your QNAP device and present the devices to ESXi.
iSCSI configuration sample:
How to configure ESXi 6.5 for iSCSI Shared Storage – 4sysops
-------------------------------------------------------------------------------------
Davoud Teimouri - https://www.teimouri.net - Twitter: @davoud_teimouri Facebook: https://www.facebook.com/teimouri.net/