#include "mainwindow.h" #include int main(int argc, char *argv[]) { QApplication a(argc, argv); MainWindow w; w.setMinimumHeight(400); w.setMinimumWidth(600); w.SetTitleHeight(35); w.SetTrayIcon(new QIcon()); w.setWindowIcon(QIcon("://dog.ico")); w.show(); return a.exec(); }