Fri, 18 Oct 2013 21:52:09 +0300
Added a crash catcher which trigger under Linux. It calls GDB and tries to get a backtrace. Also integrated assertion failure handling to this new system. Removed the print() function in the process (because the new bomb box uses a text edit and QTextDocuments's print method clashes with the macro and I figured it was a good idea to rid it anyway) and replaced all calls with log().
###################################################################### # Automatically generated by qmake (2.01a) Sat Sep 22 17:29:49 2012 ###################################################################### TEMPLATE = app TARGET = ldforge SUBDIRS += ./src TARGET = ldforge DEPENDPATH += . INCLUDEPATH += . ./build/ RC_FILE = ldforge.rc RESOURCES = ldforge.qrc RCC_DIR = ./build/ OBJECTS_DIR = ./build/ MOC_DIR = ./build/ RCC_DIR = ./build/ UI_DIR = ./build/ SOURCES = src/*.cpp HEADERS = src/*.h FORMS = ui/*.ui QT += opengl network QMAKE_CXXFLAGS += -std=c++0x CONFIG += debug_and_release CONFIG (debug, debug|release) { TARGET = ldforge_debug DEFINES += DEBUG } else { TARGET = ldforge DEFINES += RELEASE } unix { LIBS += -lGLU }