attempting to debug compiler errors due to QCursor