Pre-Qt integration.