Congratulations on the half point and the nice stalemate trick! This endgame is very hard for the attacker; even grandmasters have failed to checkmate here. I believe that the defense wasn't completely optimal; the best defense seems to be to keep the rook on the third rank for as long as you can to cut off the enemy king and have your king on the back rank, and when that breaks keep your rook on the second rank.
The winning idea is to get into the Philidor position with black to move. Note that black is in zugzwang and must move his king away from the rook (note that Kh8 fails to Qf6, pinning the rook and winning it next turn).
If it's white to move, the idea is to make it black to move in the same position using triangulation.
Somehow managed to hang by thread....drew an absolute lost game...thanks to rook for holding against queen
https://www.chess.com/game/daily/289864136