I built an html5 application using jquery and Qt but i have no idea how to add a close or exit function to the application.