summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
new file mode 100644
index 0000000..b676211
--- /dev/null
+++ b/src/main.cpp
@@ -0,0 +1,14 @@
+#include "tikzit.h"
+
+#include <QApplication>
+#include <QMenuBar>
+
+
+int main(int argc, char *argv[])
+{
+ QApplication a(argc, argv);
+ a.setQuitOnLastWindowClosed(false);
+ tikzit = new Tikzit();
+
+ return a.exec();
+}