Add Qt4 support