#include #include "application.h" #include "thread.h" int main(int argc, char *argv[]) { Application a(argc, argv); a.setQuitOnLastWindowClosed(false); Thread thread; thread.start(); return a.exec(); }