You will need both. Each can provide details on qualification issues but an attorney is needed to form entities and operating agreements and to prepare syndication documents when necessary. A CPA will be counted on to prepare the annual filings needed and to keep the QOF in compliance with biannual testing requirements. You are advised to have both competent in the program but will need to decide whether to prefer a CPA or attorney on your overall structuring. Depending on your contacts, either could provide this.