Textractor/GUI/main.cpp

17 lines
371 B
C++
Raw Normal View History

2018-07-21 15:40:16 -07:00
#include "mainwindow.h"
2018-11-25 15:05:41 -05:00
#include "host/host.h"
#include "misc.h"
2018-09-01 15:31:18 -04:00
#include <sstream>
2018-07-21 15:40:16 -07:00
#include <QApplication>
int main(int argc, char *argv[])
{
2018-11-25 15:05:41 -05:00
Host::Setup();
QString exe = GetFullModuleName(GetCurrentProcessId());
SetCurrentDirectoryW(exe.left(exe.lastIndexOf("\\")).toStdWString().c_str());
2018-08-22 12:44:16 -04:00
QApplication a(argc, argv);
MainWindow w;
w.show();
2018-08-22 12:44:53 -04:00
return a.exec();
2018-07-21 15:40:16 -07:00
}