Added Qt4 support