##// END OF EJS Templates
reintroducing clicked and hovered signals to barset. Makes some things easier on QML api
reintroducing clicked and hovered signals to barset. Makes some things easier on QML api

File last commit:

r1484:fe008ef7d284
r1490:b134c8a9174e
Show More
gettingstarted.qdoc
73 lines | 1.8 KiB | text/plain | TextLexer
/ doc / src / gettingstarted.qdoc
Marek Rosa
Added place holder for the Getting started docs page
r1438 /*!
Jani Honkonen
rename introduction.qdoc -> gettingstarted.qdoc
r1483 \page gettingstarted.html
\title QtCommercial Charts getting started
Marek Rosa
Added place holder for the Getting started docs page
r1438 \keyword Introduction
You can obtain the QtCommercial Charts package from \l {http://www.digia.com/en/Qt/Log-in-Customer-Portal/} {Customer portal}.
Marek Rosa
Started adding guidelines to getting started docs page
r1441 Compiling:
\code
qmake CONFIG+=release
make
make install
\endcode
Jani Honkonen
Update introduction doc
r1480 Depending on the OS and the compiler you are using "make" might need to be replaced with another command like: nmake, mingw32-make, etc.
Marek Rosa
Started adding guidelines to getting started docs page
r1441
Jani Honkonen
Update introduction doc
r1480 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:
Marek Rosa
Started adding guidelines to getting started docs page
r1441
Marek Rosa
Added place holder for the Getting started docs page
r1438 \code
Jani Honkonen
Update introduction doc
r1480 make all
\endcode
Compiling as a static library (lib only):
\code
qmake CONFIG+=staticlib
make
make install
Marek Rosa
Added place holder for the Getting started docs page
r1438 \endcode
Jani Honkonen
Update introduction doc
r1480 \bold {New project}
Create a new project in a usual way and then add to your project's *.pro file following line:
Marek Rosa
Started adding guidelines to getting started docs page
r1441
\code
Jani Honkonen
Update introduction doc
r1480 CONFIG += qtcommercialchart
Marek Rosa
Started adding guidelines to getting started docs page
r1441 \endcode
Jani Honkonen
Update introduction doc
r1480 Or if you have not installed charts after building:
Marek Rosa
Started adding guidelines to getting started docs page
r1441
Jani Honkonen
Update introduction doc
r1480 \code
CHARTSLIB = QtCommercialChart
CONFIG(debug, debug|release) {
mac: CHARTSLIB = $$join(CHARTSLIB,,,_debug)
win32: CHARTSLIB = $$join(CHARTSLIB,,,d)
}
INCLUDEPATH += <path_to_charts_folder>/include
LIBS += -L<path_to_charts_folder>/lib -l$$CHARTSLIB
\endcode
Marek Rosa
Started adding guidelines to getting started docs page
r1441
\bold {Widget project}
To use the QCharts classes add QtCommercialChart namespace macro in your header file.
\code
Jani Honkonen
gettingstarted.qdoc whitespace fix
r1484 #include<QWidget>
#include<QChartView>
Marek Rosa
Started adding guidelines to getting started docs page
r1441
Jani Honkonen
gettingstarted.qdoc whitespace fix
r1484 QTCOMMERCIALCHART_USE_NAMESPACE
Marek Rosa
Started adding guidelines to getting started docs page
r1441
Jani Honkonen
gettingstarted.qdoc whitespace fix
r1484 class ExampleWidget : public QWidget
Marek Rosa
Started adding guidelines to getting started docs page
r1441 \endcode
\bold {QML project}
Add an import line to your *.qml file:
\code
Jani Honkonen
gettingstarted.qdoc whitespace fix
r1484 import QtCommercial.Chart 1.0
Marek Rosa
Started adding guidelines to getting started docs page
r1441 \endcode
Marek Rosa
Added place holder for the Getting started docs page
r1438 \raw HTML
\endraw
*/