Textractor/GUI/main.cpp
2018-11-25 15:05:41 -05:00

17 lines
371 B
C++

#include "mainwindow.h"
#include "host/host.h"
#include "misc.h"
#include <sstream>
#include <QApplication>
int main(int argc, char *argv[])
{
Host::Setup();
QString exe = GetFullModuleName(GetCurrentProcessId());
SetCurrentDirectoryW(exe.left(exe.lastIndexOf("\\")).toStdWString().c_str());
QApplication a(argc, argv);
MainWindow w;
w.show();
return a.exec();
}