From 87da903027e18150338cec943115ea85d785cad0 2012-01-03 15:05:03 From: Jani Honkonen Date: 2012-01-03 15:05:03 Subject: [PATCH] Different file name for widget in debug build --- diff --git a/features/charts.prf b/features/charts.prf index c4b90e9..d596701 100644 --- a/features/charts.prf +++ b/features/charts.prf @@ -1,5 +1,9 @@ INCLUDEPATH += $$[QT_INSTALL_HEADERS]/Charts contains(CHARTS, widget) { + CONFIG(debug, debug|release) { + LIBS += -lChartWidgetd + } else { LIBS += -lChartWidget + } } diff --git a/widget/widget.pro b/widget/widget.pro index 81f4125..b993c4d 100644 --- a/widget/widget.pro +++ b/widget/widget.pro @@ -5,6 +5,10 @@ QT += core gui contains(QT_MAJOR_VERSION, 5) { QT += widgets } +CONFIG += debug_and_release +CONFIG(debug, debug|release) { + TARGET = ChartWidgetd +} SOURCES += \ chartwidget.cpp