aboutsummaryrefslogtreecommitdiff
path: root/qdeduper/main.cpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2022-09-18 11:08:01 -0400
committerGravatar Chris Xiong <chirs241097@gmail.com> 2022-09-18 11:08:01 -0400
commit4b8d314f575d9e893d8dda7431194f8b470fc888 (patch)
tree4d42ebc06d2522c9141c42ff91be214e521e5fcb /qdeduper/main.cpp
parent0570b0f172631ba8f3c6180d2c850635c3cd6037 (diff)
downloaddeduper-4b8d314f575d9e893d8dda7431194f8b470fc888.tar.xz
First step to adopt mingui as part of the project -- break it!
Diffstat (limited to 'qdeduper/main.cpp')
-rw-r--r--qdeduper/main.cpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/qdeduper/main.cpp b/qdeduper/main.cpp
new file mode 100644
index 0000000..9b40ea4
--- /dev/null
+++ b/qdeduper/main.cpp
@@ -0,0 +1,29 @@
+#include <cstdio>
+#include <algorithm>
+#include <filesystem>
+#include <map>
+#include <string>
+#include <vector>
+#include <unordered_map>
+#include <utility>
+
+#include <QWidget>
+#include <QApplication>
+#include "mingui.hpp"
+
+using std::size_t;
+namespace fs = std::filesystem;
+
+DeduperMainWindow *w = nullptr;
+
+int main(int argc, char **argv)
+{
+ QApplication a(argc, argv);
+
+ w = new DeduperMainWindow();
+ w->show();
+
+ a.exec();
+
+ return 0;
+}