From 41e5c750fd8606b79d4bb6b5e9c53263c6a08066 Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Wed, 16 Sep 2015 13:21:34 +0200 Subject: [PATCH] CrashHandler: Link against utils library This is what QBS does, too, and it spares us having a self-contained sub-set of libUtils that can be compiled into the crashhandler. Change-Id: I94e93192c058fc34e1838aeac536db52a3932157 Reviewed-by: Christian Kandeler Reviewed-by: Nikolai Kosjar --- .../qtcreatorcrashhandler.pro | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/src/tools/qtcreatorcrashhandler/qtcreatorcrashhandler.pro b/src/tools/qtcreatorcrashhandler/qtcreatorcrashhandler.pro index e82d72cdb75..8090a3f3b47 100644 --- a/src/tools/qtcreatorcrashhandler/qtcreatorcrashhandler.pro +++ b/src/tools/qtcreatorcrashhandler/qtcreatorcrashhandler.pro @@ -1,3 +1,5 @@ +QTC_LIB_DEPENDS += utils + include(../../qtcreatortool.pri) TARGET = qtcreator_crash_handler @@ -7,26 +9,13 @@ SOURCES += \ backtracecollector.cpp \ crashhandlerdialog.cpp \ crashhandler.cpp \ - utils.cpp \ - ../../libs/utils/qtcassert.cpp \ - ../../libs/utils/checkablemessagebox.cpp \ - ../../libs/utils/environment.cpp \ - ../../libs/utils/fileutils.cpp \ - ../../libs/utils/hostosinfo.cpp \ - ../../libs/utils/savefile.cpp - + utils.cpp HEADERS += \ backtracecollector.h \ crashhandlerdialog.h \ crashhandler.h \ - utils.h \ - ../../libs/utils/qtcassert.h \ - ../../libs/utils/checkablemessagebox.h \ - ../../libs/utils/environment.h \ - ../../libs/utils/fileutils.h \ - ../../libs/utils/hostosinfo.h \ - ../../libs/utils/savefile.h + utils.h FORMS += \ crashhandlerdialog.ui