fix compile error when USING_QWINDOW == 0.