Generally foreign income is not eligible for the QBI deduction unless certain conditions are met. Please review this link, specifically in the paragraph entitled Non-U.S. Source: Categories of Income. This should guide you in determining if your foreign income is considered Effectively Connected income (ECI) for QBI purposes.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"