1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#include "mainwindow.h" #include "toolpalette.h" #include <QApplication> int main(int argc, char *argv[]) { QApplication a(argc, argv); MainWindow *w = new MainWindow(); w->show(); ToolPalette *tp = new ToolPalette(); tp->show(); return a.exec(); }