Start from scratch for qt5 main.