diff options
author | Nikolai Kosjar <nikolai.kosjar@digia.com> | 2012-09-24 09:56:31 +0200 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@digia.com> | 2012-09-24 12:31:48 +0200 |
commit | 31682a0c136b76c0088e3204391fbaa2d00d8310 (patch) | |
tree | 47fc3e6b0c7d26c4c32c49b65372d5a72bd5864a /src/app/app.pro | |
parent | c620ea67f017e1f51339b586b110c83dbf47042d (diff) |
Get rid of ifdefs for crash handler in main.cpp.
Adapt the *.pro and *.qbp files to build unconditionally since the
ifdefs are already inlined in the functions.
Change-Id: I492f39600222a6174d4e16546bfa5a289965e8cb
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Diffstat (limited to 'src/app/app.pro')
-rw-r--r-- | src/app/app.pro | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/app/app.pro b/src/app/app.pro index 85831adb6f..456d2eb1de 100644 --- a/src/app/app.pro +++ b/src/app/app.pro @@ -5,14 +5,8 @@ TEMPLATE = app TARGET = $$IDE_APP_TARGET DESTDIR = $$IDE_APP_PATH -SOURCES += main.cpp -linux-* { - # Build only in debug mode. - debug_and_release|CONFIG(debug, debug|release) { - HEADERS += ../tools/qtcreatorcrashhandler/crashhandlersetup.h - SOURCES += ../tools/qtcreatorcrashhandler/crashhandlersetup.cpp - } -} +HEADERS += ../tools/qtcreatorcrashhandler/crashhandlersetup.h +SOURCES += main.cpp ../tools/qtcreatorcrashhandler/crashhandlersetup.cpp include(../rpath.pri) |