Use COPYQ_WS_X11 instead of Q_WS_X11

Q_WS_X11 is not defined with Qt 5.