2 Author: Marco Costalba (C) 2005-2007
4 Copyright: See COPYING file that comes with this distribution
11 #if defined(_MSC_VER) && defined(NDEBUG)
12 #pragma comment(linker,"/entry:mainCRTStartup")
13 #pragma comment(linker,"/subsystem:windows")
18 int main(int argc
, char* argv
[]) {
20 QApplication
app(argc
, argv
);
21 QCoreApplication::setOrganizationName(ORG_KEY
);
22 QCoreApplication::setApplicationName(APP_KEY
);
24 /* On Windows msysgit exec directory is set up
25 * during installation so to always find git.exe
29 GIT_DIR
= set
.value(GIT_DIR_KEY
).toString();
33 MainImpl
* mainWin
= new MainImpl
;
35 QObject::connect(&app
, SIGNAL(lastWindowClosed()), &app
, SLOT(quit()));
36 bool ret
= app
.exec();