you'll measure it normally.
start from A, then go to Q and finally B.
since A is placed at the base and Q (the vertex) is placed at the zero, then all you need to do is measure the angle at which B stope.
you can see that measure angle AQB is exactly 90 degrees.