Green’s Dictionary of Slang

queer adv.

[queer adj. (1)]

[late-18C-late 19C] in a problematic, difficult manner.