The requirement is to "have at least two years of experience as a self-employed worker in the profession or trade you intend to practice in Québec." Therefore, you must have been a freelancer in the profession you intend to do in Quebec. It has nothing to do with tech.
Ask A Question | Learn more about Canada
What criteria must investors meet to qualify for the Quebec Self-Employed Worker Program?
How does Quebec define self-employed? Can one have self-employed experience in a non-tech profession and still be eligible for this program?