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().
485 | 1 | TARGET = ../ldforge |
2 | DEPENDPATH += . | |
3 | INCLUDEPATH += . | |
4 | RC_FILE = ../ldforge.rc | |
5 | RESOURCES = ../ldforge.qrc | |
6 | RCC_DIR = ./build/ | |
7 | OBJECTS_DIR = ./build/ | |
8 | MOC_DIR = ./build/ | |
9 | RCC_DIR = ./build/ | |
10 | SOURCES = *.cpp | |
11 | HEADERS = *.h | |
12 | FORMS = ui/*.ui | |
13 | QT += opengl network | |
14 | QMAKE_CXXFLAGS += -std=c++0x | |
15 | ||
16 | unix { | |
17 | LIBS += -lGLU | |
18 | } |