Qt is stupid and doesn't work good.