#include int main(int argc, char *argv[]) { QApplication myApp(argc, argv); .... return myApp.exec(); }