summaryrefslogtreecommitdiffstats
path: root/src/charts/doc/snippets/doc_src_qtcharts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/charts/doc/snippets/doc_src_qtcharts.cpp')
-rw-r--r--src/charts/doc/snippets/doc_src_qtcharts.cpp35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/charts/doc/snippets/doc_src_qtcharts.cpp b/src/charts/doc/snippets/doc_src_qtcharts.cpp
new file mode 100644
index 00000000..d841bb88
--- /dev/null
+++ b/src/charts/doc/snippets/doc_src_qtcharts.cpp
@@ -0,0 +1,35 @@
+/****************************************************************************
+**
+** Copyright (C) 2014 Digia Plc
+** All rights reserved.
+** For any questions to Digia, please use contact form at http://qt.digia.com
+**
+** This file is part of the QtCharts module.
+**
+** Licensees holding valid Qt Enterprise licenses may use this file in
+** accordance with the Qt Enterprise License Agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and Digia.
+**
+** If you have questions regarding the use of this file, please use
+** contact form at http://qt.digia.com
+**
+****************************************************************************/
+
+//! [0]
+#include <QtCharts>
+
+using namespace QtCharts;
+//! [0]
+
+//! [1]
+qmake CONFIG+=static
+make
+make install
+//! [1]
+
+//! [2]
+qmake
+make
+./qmlpolarchart
+//! [2]