waf

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

main.cpp (501B)


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