--- a/ldforge.pro Wed Oct 16 23:20:35 2013 +0300 +++ b/ldforge.pro Fri Oct 18 17:47:05 2013 +0300 @@ -21,7 +21,14 @@ FORMS = ui/*.ui QT += opengl network QMAKE_CXXFLAGS += -std=c++0x +CONFIG += debug_and_release + +CONFIG (debug, debug|release) { + TARGET = ldforge_debug +} else { + TARGET = ldforge +} unix { LIBS += -lGLU -} \ No newline at end of file +}