waf

FORK: waf with some random patches
git clone https://git.neptards.moe/neptards/waf.git
Log | Files | Refs | README

main.cpp (514B)


      1 // Thomas Nagy, 2016 (ita)
      2 
      3 #include <QApplication>
      4 //#include <QString>
      5 //#include "mainwindow.h"
      6 #include "ui_but.h"
      7 #include "foo.h"
      8 
      9 int main(int argc, char **argv)
     10 {
     11     Q_INIT_RESOURCE(res);
     12     QApplication app(argc, argv);
     13     Foo window;
     14     Ui::Form ui;
     15     ui.setupUi(&window);
     16     window.show();
     17     return app.exec();
     18 /*
     19     MainWindow window;
     20     if (argc == 2)
     21         window.openFile(argv[1]);
     22     else
     23         window.openFile(":/files/bubbles.svg");
     24     window.show();
     25     return app.exec();
     26 */
     27 }