##// END OF EJS Templates
Doc updates
Doc updates

File last commit:

r1909:bb12647edbe2
r1909:bb12647edbe2
Show More
gettingstarted.qdoc
57 lines | 1.1 KiB | text/plain | TextLexer
/ doc / src / gettingstarted.qdoc
/*!
\page gettingstarted.html
\title QtCommercial Charts getting started
\keyword Introduction
Compiling:
\code
qmake CONFIG+=release
make
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.
To uninstall the QtCommercialCharts run:
\code
make uninstall
\endcode
Compiling as a static library (lib only):
\code
qmake CONFIG+=staticlib
make
make install
\endcode
\bold {New project}
Create a new project in a usual way and then add to your project's *.pro file following line:
\code
CONFIG += qtcommercialchart
\endcode
\bold {Widget project}
To use the QCharts classes add QtCommercialChart namespace macro in your header file.
\code
#include<QWidget>
#include<QChartView>
QTCOMMERCIALCHART_USE_NAMESPACE
class ExampleWidget : public QWidget
\endcode
\bold {QML project}
Add an import line to your *.qml file:
\code
import QtCommercial.Chart 1.1
\endcode
\raw HTML
\endraw
*/