From dedb95c750e954affd2caf5320b5be543906554f 2012-06-18 11:40:01 From: Jani Honkonen Date: 2012-06-18 11:40:01 Subject: [PATCH] Update introduction doc --- diff --git a/doc/src/introduction.qdoc b/doc/src/introduction.qdoc index 3c61f2a..2879258 100644 --- a/doc/src/introduction.qdoc +++ b/doc/src/introduction.qdoc @@ -12,26 +12,41 @@ make install \endcode - Depending on the OS and the compiler you are using "make" might need to be replaced with another command like: nmake, mingw32-make, etc + Depending on the OS and the compiler you are using "make" might need to be replaced with another command like: nmake, mingw32-make, etc. - \bold {New project} + On Windows platforms both debug and release configurations are built by default at the same time. + To build both at the same time on other platforms invoke the following command: - Create a new project in a usual way and then add to your project's *.pro file following line \code - CONFIG += qtcommercialchart + make all + \endcode + + Compiling as a static library (lib only): + \code + qmake CONFIG+=staticlib + make + make install \endcode - or if you have not installed QCharts afer building: + \bold {New project} + + Create a new project in a usual way and then add to your project's *.pro file following line: - On *unix: \code - INCLUDEPATH += /include - LIBS += -L/lib -lQtCommercialChart + CONFIG += qtcommercialchart \endcode - On windows: + Or if you have not installed charts after building: - On mac: + \code + CHARTSLIB = QtCommercialChart + CONFIG(debug, debug|release) { + mac: CHARTSLIB = $$join(CHARTSLIB,,,_debug) + win32: CHARTSLIB = $$join(CHARTSLIB,,,d) + } + INCLUDEPATH += /include + LIBS += -L/lib -l$$CHARTSLIB + \endcode \bold {Widget project}