I have heard of hand quilters successfully using spray basting. Brand probably matters; I would use 505. Also, you need a light hand applying it.
I would not use glue to baste if hand quilting. It hardens and would be difficult to get the needle through.
Another basting option is to machine baste with water-soluble thread.