If you have self-employed income, you can claim the QBI deduction. It does not matter whether you have a regular job or not,
Thank you!