Formation of strain-induced quantum dots in gated semiconductor nanostructures