Investors & landlords

Unfortunately, no.  Generally, oil and gas lease payments are considered "portfolio income." (Portfolio income is defined to include gross income from interest, dividends, annuities, or royalties not derived in the ordinary course of a trade or business.)

Portfolio income is specifically excluded from Qualified Business Income and will not qualify for the QBI deduction.