From 806dafc86d1e998f43566f1dbc124c3a5f23d465 2012-01-19 15:55:07 From: Michal Klocek Date: 2012-01-19 15:55:07 Subject: [PATCH] fix CRLF in src.pro --- diff --git a/src/src.pro b/src/src.pro index 9250033..d18dafe 100644 --- a/src/src.pro +++ b/src/src.pro @@ -3,57 +3,57 @@ error( Couldn't find the common.pri file! ) } -TARGET = QtCommercialChart +TARGET = QtCommercialChart DESTDIR = $$CHART_BUILD_LIB_DIR -TEMPLATE = lib -QT += core \ - gui +TEMPLATE = lib +QT += core \ + gui + +CONFIG += debug_and_release +CONFIG(debug, debug|release):TARGET = QtCommercialChartd + +SOURCES += \ + xylinechart/qxychartseries.cpp \ + xylinechart/xylinechartitem.cpp \ + xylinechart/xygrid.cpp \ + xylinechart/xyplotdomain.cpp \ + qchart.cpp \ + axis.cpp \ + qchartwidget.cpp + +PRIVATE_HEADERS += \ + xylinechart/xylinechartitem_p.h \ + xylinechart/xyplotdomain_p.h \ + xylinechart/xygrid_p.h \ + axis_p.h + +PUBLIC_HEADERS += \ + qchartseries.h \ + qchart.h \ + qchartwidget.h \ + qchartglobal.h \ + xylinechart/qxychartseries.h + +HEADERS += $$PUBLIC_HEADERS +HEADERS += $$PRIVATE_HEADERS + +INCLUDEPATH += xylinechart \ + . -CONFIG += debug_and_release -CONFIG(debug, debug|release):TARGET = QtCommercialChartd - -SOURCES += \ - xylinechart/qxychartseries.cpp \ - xylinechart/xylinechartitem.cpp \ - xylinechart/xygrid.cpp \ - xylinechart/xyplotdomain.cpp \ - qchart.cpp \ - axis.cpp \ - qchartwidget.cpp - -PRIVATE_HEADERS += \ - xylinechart/xylinechartitem_p.h \ - xylinechart/xyplotdomain_p.h \ - xylinechart/xygrid_p.h \ - axis_p.h - -PUBLIC_HEADERS += \ - qchartseries.h \ - qchart.h \ - qchartwidget.h \ - qchartglobal.h \ - xylinechart/qxychartseries.h - -HEADERS += $$PUBLIC_HEADERS -HEADERS += $$PRIVATE_HEADERS - -INCLUDEPATH += xylinechart \ - . - OBJECTS_DIR = $$CHART_BUILD_DIR/lib MOC_DIR = $$CHART_BUILD_DIR/lib UI_DIR = $$CHART_BUILD_DIR/lib RCC_DIR = $$CHART_BUILD_DIR/lib -DEFINES += QTCOMMERCIALCHART_LIBRARY - -public_headers.path = $$[QT_INSTALL_HEADERS]/QtCommercialChart -public_headers.files = $$PUBLIC_HEADERS -target.path = $$[QT_INSTALL_LIBS] -INSTALLS += target \ - public_headers - +DEFINES += QTCOMMERCIALCHART_LIBRARY + +public_headers.path = $$[QT_INSTALL_HEADERS]/QtCommercialChart +public_headers.files = $$PUBLIC_HEADERS +target.path = $$[QT_INSTALL_LIBS] +INSTALLS += target \ + public_headers + install_build_headers.name = bild_headers install_build_headers.output = $$CHART_BUILD_HEADER_DIR/${QMAKE_FILE_BASE}.h