Then your qr code only works if the url shortener stays online.

In many cases its wiser to roll your own permanent shortened urls so you aren't beholden to a third party service.

Of course you can roll out your own URL shortener. It's not a problem to buy short domain.