aboutsummaryrefslogtreecommitdiffstats
path: root/dummy
diff options
context:
space:
mode:
Diffstat (limited to 'dummy')
-rw-r--r--dummy/main.cc10
1 files changed, 8 insertions, 2 deletions
diff --git a/dummy/main.cc b/dummy/main.cc
index e3a784ca..be4b47a9 100644
--- a/dummy/main.cc
+++ b/dummy/main.cc
@@ -18,13 +18,19 @@
*/
#include "design.h"
+#include "mainwindow.h"
+#include <QApplication>
-int main()
+int main(int argc, char *argv[])
{
Design design(ChipArgs{});
for (auto bel : design.chip.getBels())
printf("%s\n", design.chip.getBelName(bel).c_str());
- return 0;
+ QApplication a(argc, argv);
+ MainWindow w;
+ w.show();
+
+ return a.exec();
}