mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-29 13:30:32 +01:00
27 lines
501 B
C++
27 lines
501 B
C++
|
// Thomas Nagy, 2016 (ita)
|
||
|
|
||
|
#include <QApplication>
|
||
|
//#include <QString>
|
||
|
//#include "mainwindow.h"
|
||
|
#include "ui_but.h"
|
||
|
|
||
|
int main(int argc, char **argv)
|
||
|
{
|
||
|
Q_INIT_RESOURCE(res);
|
||
|
QApplication app(argc, argv);
|
||
|
QWidget window;
|
||
|
Ui::Form ui;
|
||
|
ui.setupUi(&window);
|
||
|
window.show();
|
||
|
return app.exec();
|
||
|
/*
|
||
|
MainWindow window;
|
||
|
if (argc == 2)
|
||
|
window.openFile(argv[1]);
|
||
|
else
|
||
|
window.openFile(":/files/bubbles.svg");
|
||
|
window.show();
|
||
|
return app.exec();
|
||
|
*/
|
||
|
}
|