Gravity in Curved Spacetime Yields Quantum Mechanics in Flat Spacetime
researchgate.net
researchgate.net
But once you use the Schrödinger equation, the abstract commutation rules for the position and momentum operators are defined. And from these rules it is possible to deduct the uncertainty principle.
The details of the calculations are not important, you will reach the uncertainty principle anyway, because it is hidden in the Schrödinger equation.