Add make-qapplication before initializing windows.