A copied qt5 application example