-#include "main.h"
+#include "../src/main.h"
int main(int ac,char**av)
{
- return MApplication::main(ac,av);
+ return MApplication::realmain(ac,av);
}
\ No newline at end of file
#ASLR for windows
win32 {
QMAKE_LFLAGS += -Wl,--nxcompat -Wl,--dynamicbase
+ LIBS += -lssp
}
--- /dev/null
+IDI_ICON1 ICON DISCARDABLE "icon.ico"
-Subproject commit 3b929b9cf42e562a7e5e2ea2208086c81bfc52cc
+Subproject commit de50ef2ddfebf8bf0dc96540d03c51de0213d2a8
//defaults
if(lang!="--"&&lang!=""){
QLocale::setDefault(lang);
+#ifndef Q_OS_WIN
setenv("LANG",lang.toLatin1().data(),1);
}else{
setenv("LANG","C",1);
+#endif
}
}
-int MApplication::main(int argc,char**argv)
+int MApplication::realmain(int argc,char**argv)
{
//create global app
MApplication app(argc,argv);
static QMenu*helpMenu();
///shortcut: the main function
- static int main(int,char**);
+ static int realmain(int,char**);
/**contains the directory that is used for external data storage*/
static QString dataDir();
TEMPLATE = lib
TARGET = magicsmoke
DESTDIR = $$PWD/../bin
-VERSION = 2.0
+VERSION =
#Localization
TRANSLATIONS = \
QMAKE_CXXFLAGS += -fstack-protector-all -Wstack-protector
win32 {
QMAKE_LFLAGS += -Wl,--nxcompat
+ LIBS += -lssp
}
+++ /dev/null
-IDI_ICON1 ICON DISCARDABLE "images\icon.ico"
-Subproject commit 98700f93f1c6bb32761da38b7d5b8d2a71da91ef
+Subproject commit fd3d7c98a650d5f02a9bea004871bed226fe921e
-Subproject commit 42d981fa8802b1bfb180a37044feae1e1e218075
+Subproject commit 3f625dcc61f5c76b847773a56b1ea5f363013481