summaryrefslogtreecommitdiffstats
path: root/demos/qmlpolarchart
diff options
context:
space:
mode:
Diffstat (limited to 'demos/qmlpolarchart')
-rw-r--r--demos/qmlpolarchart/main.cpp43
-rw-r--r--demos/qmlpolarchart/qml/qmlpolarchart/View1.qml68
-rw-r--r--demos/qmlpolarchart/qml/qmlpolarchart/View2.qml89
-rw-r--r--demos/qmlpolarchart/qml/qmlpolarchart/View3.qml76
-rw-r--r--demos/qmlpolarchart/qml/qmlpolarchart/loader.qml37
-rw-r--r--demos/qmlpolarchart/qml/qmlpolarchart/main.qml90
-rw-r--r--demos/qmlpolarchart/qmlapplicationviewer/qmlapplicationviewer.cpp177
-rw-r--r--demos/qmlpolarchart/qmlapplicationviewer/qmlapplicationviewer.h46
-rw-r--r--demos/qmlpolarchart/qmlapplicationviewer/qmlapplicationviewer.pri13
-rw-r--r--demos/qmlpolarchart/qmlpolarchart.pro9
-rw-r--r--demos/qmlpolarchart/resources.qrc9
11 files changed, 0 insertions, 657 deletions
diff --git a/demos/qmlpolarchart/main.cpp b/demos/qmlpolarchart/main.cpp
deleted file mode 100644
index 27e6a540..00000000
--- a/demos/qmlpolarchart/main.cpp
+++ /dev/null
@@ -1,43 +0,0 @@
-/****************************************************************************
-**
-** 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 Qt Enterprise Charts Add-on.
-**
-** $QT_BEGIN_LICENSE$
-** 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
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#include <QApplication>
-#include <QtDeclarative/QDeclarativeEngine>
-#include <QDir>
-#include "qmlapplicationviewer.h"
-
-Q_DECL_EXPORT int main(int argc, char *argv[])
-{
- QScopedPointer<QApplication> app(createApplication(argc, argv));
- QScopedPointer<QmlApplicationViewer> viewer(QmlApplicationViewer::create());
-#ifdef Q_OS_ANDROID
- viewer->addImportPath(QString::fromLatin1("assets:/imports"));
- viewer->engine()->addPluginPath(QString::fromLatin1("%1/../%2").arg(QDir::homePath(), QString::fromLatin1("lib")));
-#else
- viewer->addImportPath(QString::fromLatin1("%1/%2").arg(QCoreApplication::applicationDirPath(), QString::fromLatin1("imports")));
-#endif
-
- // // viewer->setOrientation(QmlApplicationViewer::ScreenOrientationAuto);
- viewer->setSource(QUrl("qrc:/qml/qmlpolarchart/loader.qml"));
- viewer->setRenderHint(QPainter::Antialiasing, true);
- viewer->showExpanded();
-
- return app->exec();
-}
diff --git a/demos/qmlpolarchart/qml/qmlpolarchart/View1.qml b/demos/qmlpolarchart/qml/qmlpolarchart/View1.qml
deleted file mode 100644
index 4d9ef097..00000000
--- a/demos/qmlpolarchart/qml/qmlpolarchart/View1.qml
+++ /dev/null
@@ -1,68 +0,0 @@
-/****************************************************************************
-**
-** 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 Qt Enterprise Charts Add-on.
-**
-** $QT_BEGIN_LICENSE$
-** 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
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 1.0
-import QtCommercial.Chart 1.3
-
-Rectangle {
- anchors.fill: parent
- //![1]
- PolarChartView {
- title: "Two Series, Common Axes"
- anchors.fill: parent
- legend.visible: false
-
- ValueAxis {
- id: axisAngular
- min: 0
- max: 20
- tickCount: 9
- }
-
- ValueAxis {
- id: axisRadial
- min: -0.5
- max: 1.5
- }
-
- SplineSeries {
- id: series1
- axisAngular: axisAngular
- axisRadial: axisRadial
- pointsVisible: true
- }
-
- ScatterSeries {
- id: series2
- axisAngular: axisAngular
- axisRadial: axisRadial
- markerSize: 10
- }
- }
-
- // Add data dynamically to the series
- Component.onCompleted: {
- for (var i = 0; i <= 20; i++) {
- series1.append(i, Math.random());
- series2.append(i, Math.random());
- }
- }
- //![1]
-}
diff --git a/demos/qmlpolarchart/qml/qmlpolarchart/View2.qml b/demos/qmlpolarchart/qml/qmlpolarchart/View2.qml
deleted file mode 100644
index b062c0c3..00000000
--- a/demos/qmlpolarchart/qml/qmlpolarchart/View2.qml
+++ /dev/null
@@ -1,89 +0,0 @@
-/****************************************************************************
-**
-** 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 Qt Enterprise Charts Add-on.
-**
-** $QT_BEGIN_LICENSE$
-** 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
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 1.0
-import QtCommercial.Chart 1.3
-
-Rectangle {
- anchors.fill: parent
-
- //![1]
- PolarChartView {
- title: "Historical Area Series"
- anchors.fill: parent
- legend.visible: false
-
- DateTimeAxis {
- id: axis1
- format: "yyyy MMM"
- tickCount: 13
- }
- ValueAxis {
- id: axis2
- }
- LineSeries {
- id: lowerLine
- axisAngular: axis1
- axisRadial: axis2
-
- // Please note that month in JavaScript months are zero based, so 2 means March
- XYPoint { x: toMsecsSinceEpoch(new Date(1950, 0, 1)); y: 15 }
- XYPoint { x: toMsecsSinceEpoch(new Date(1962, 4, 1)); y: 35 }
- XYPoint { x: toMsecsSinceEpoch(new Date(1970, 0, 1)); y: 50 }
- XYPoint { x: toMsecsSinceEpoch(new Date(1978, 2, 1)); y: 75 }
- XYPoint { x: toMsecsSinceEpoch(new Date(1987, 11, 1)); y: 102 }
- XYPoint { x: toMsecsSinceEpoch(new Date(1992, 1, 1)); y: 132 }
- XYPoint { x: toMsecsSinceEpoch(new Date(1998, 7, 1)); y: 100 }
- XYPoint { x: toMsecsSinceEpoch(new Date(2002, 4, 1)); y: 120 }
- XYPoint { x: toMsecsSinceEpoch(new Date(2012, 8, 1)); y: 140 }
- XYPoint { x: toMsecsSinceEpoch(new Date(2013, 5, 1)); y: 150 }
- }
- LineSeries {
- id: upperLine
- axisAngular: axis1
- axisRadial: axis2
-
- // Please note that month in JavaScript months are zero based, so 2 means March
- XYPoint { x: toMsecsSinceEpoch(new Date(1950, 0, 1)); y: 30 }
- XYPoint { x: toMsecsSinceEpoch(new Date(1962, 4, 1)); y: 55 }
- XYPoint { x: toMsecsSinceEpoch(new Date(1970, 0, 1)); y: 80 }
- XYPoint { x: toMsecsSinceEpoch(new Date(1978, 2, 1)); y: 105 }
- XYPoint { x: toMsecsSinceEpoch(new Date(1987, 11, 1)); y: 125 }
- XYPoint { x: toMsecsSinceEpoch(new Date(1992, 1, 1)); y: 160 }
- XYPoint { x: toMsecsSinceEpoch(new Date(1998, 7, 1)); y: 140 }
- XYPoint { x: toMsecsSinceEpoch(new Date(2002, 4, 1)); y: 140 }
- XYPoint { x: toMsecsSinceEpoch(new Date(2012, 8, 1)); y: 170 }
- XYPoint { x: toMsecsSinceEpoch(new Date(2013, 5, 1)); y: 200 }
- }
- AreaSeries {
- axisAngular: axis1
- axisRadial: axis2
- lowerSeries: lowerLine
- upperSeries: upperLine
- }
- }
- // DateTimeAxis is based on QDateTimes so we must convert our JavaScript dates to
- // milliseconds since epoch to make them match the DateTimeAxis values
- function toMsecsSinceEpoch(date) {
- var msecs = date.getTime();
- return msecs;
- }
- //![1]
-}
diff --git a/demos/qmlpolarchart/qml/qmlpolarchart/View3.qml b/demos/qmlpolarchart/qml/qmlpolarchart/View3.qml
deleted file mode 100644
index c671448f..00000000
--- a/demos/qmlpolarchart/qml/qmlpolarchart/View3.qml
+++ /dev/null
@@ -1,76 +0,0 @@
-/****************************************************************************
-**
-** 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 Qt Enterprise Charts Add-on.
-**
-** $QT_BEGIN_LICENSE$
-** 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
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 1.0
-import QtCommercial.Chart 1.3
-
-Rectangle {
- anchors.fill: parent
-
- //![1]
- PolarChartView {
- title: "Numerical Data for Dummies"
- anchors.fill: parent
- legend.visible: false
-
- LineSeries {
- axisRadial: CategoryAxis {
- min: 0
- max: 30
- CategoryRange {
- label: "critical"
- endValue: 2
- }
- CategoryRange {
- label: "low"
- endValue: 7
- }
- CategoryRange {
- label: "normal"
- endValue: 12
- }
- CategoryRange {
- label: "high"
- endValue: 18
- }
- CategoryRange {
- label: "extremely high"
- endValue: 30
- }
- }
-
- axisAngular: ValueAxis {
- tickCount: 13
- }
-
- XYPoint { x: 0; y: 4.3 }
- XYPoint { x: 1; y: 4.1 }
- XYPoint { x: 2; y: 4.7 }
- XYPoint { x: 3; y: 3.9 }
- XYPoint { x: 4; y: 5.2 }
- XYPoint { x: 5; y: 5.3 }
- XYPoint { x: 6; y: 6.1 }
- XYPoint { x: 7; y: 7.7 }
- XYPoint { x: 8; y: 12.9 }
- XYPoint { x: 9; y: 19.2 }
- }
- }
- //![1]
-}
diff --git a/demos/qmlpolarchart/qml/qmlpolarchart/loader.qml b/demos/qmlpolarchart/qml/qmlpolarchart/loader.qml
deleted file mode 100644
index 06054d01..00000000
--- a/demos/qmlpolarchart/qml/qmlpolarchart/loader.qml
+++ /dev/null
@@ -1,37 +0,0 @@
-/****************************************************************************
-**
-** 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 Qt Enterprise Charts Add-on.
-**
-** $QT_BEGIN_LICENSE$
-** 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
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 1.0
-
-Item {
- id: container
- width: 800
- height: 600
- Component.onCompleted: {
- var co = Qt.createComponent("main.qml")
- if (co.status == Component.Ready) {
- var o = co.createObject(container)
- } else {
- console.log(co.errorString())
- console.log("QtCommercial.Chart 1.3 not available")
- console.log("Please use correct QML_IMPORT_PATH export")
- }
- }
-}
diff --git a/demos/qmlpolarchart/qml/qmlpolarchart/main.qml b/demos/qmlpolarchart/qml/qmlpolarchart/main.qml
deleted file mode 100644
index 56f5e288..00000000
--- a/demos/qmlpolarchart/qml/qmlpolarchart/main.qml
+++ /dev/null
@@ -1,90 +0,0 @@
-/****************************************************************************
-**
-** 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 Qt Enterprise Charts Add-on.
-**
-** $QT_BEGIN_LICENSE$
-** 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
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 1.0
-
-Rectangle {
- width: parent.width
- height: parent.height
- property int viewNumber: 1
- property int viewCount: 3
-
- Loader {
- id: loader
- anchors.fill: parent
- source: "View" + viewNumber + ".qml";
- }
-
- Rectangle {
- id: infoText
- anchors.centerIn: parent
- width: parent.width
- height: 40
- color: "black"
- Text {
- color: "white"
- anchors.centerIn: parent
- text: "Use left and right arrow keys to navigate"
- }
-
- Behavior on opacity {
- NumberAnimation { duration: 400 }
- }
- }
-
- MouseArea {
- focus: true
- anchors.fill: parent
- onClicked: {
- if (infoText.opacity > 0) {
- infoText.opacity = 0.0;
- } else {
- nextView();
- }
- }
- Keys.onPressed: {
- if (infoText.opacity > 0) {
- infoText.opacity = 0.0;
- } else {
- if (event.key == Qt.Key_Left) {
- previousView();
- } else {
- nextView();
- }
- }
- }
- }
-
- function nextView() {
- var i = viewNumber + 1;
- if (i > viewCount)
- viewNumber = 1;
- else
- viewNumber = i;
- }
-
- function previousView() {
- var i = viewNumber - 1;
- if (i <= 0)
- viewNumber = viewCount;
- else
- viewNumber = i;
- }
-}
diff --git a/demos/qmlpolarchart/qmlapplicationviewer/qmlapplicationviewer.cpp b/demos/qmlpolarchart/qmlapplicationviewer/qmlapplicationviewer.cpp
deleted file mode 100644
index cb227056..00000000
--- a/demos/qmlpolarchart/qmlapplicationviewer/qmlapplicationviewer.cpp
+++ /dev/null
@@ -1,177 +0,0 @@
-// checksum 0xaa72 version 0x90018
-/*
- This file was generated by the Qt Quick Application wizard of Qt Creator.
- QmlApplicationViewer is a convenience class containing mobile device specific
- code such as screen orientation handling. Also QML paths and debugging are
- handled here.
- It is recommended not to modify this file, since newer versions of Qt Creator
- may offer an updated version of it.
-*/
-
-#include "qmlapplicationviewer.h"
-
-#include <QDir>
-#include <QFileInfo>
-#include <QApplication>
-#include <QDeclarativeComponent>
-#include <QDeclarativeEngine>
-#include <QDeclarativeContext>
-
-#include <qplatformdefs.h> // MEEGO_EDITION_HARMATTAN
-
-#ifdef HARMATTAN_BOOSTER
-#include <MDeclarativeCache>
-#endif
-
-#if defined(QMLJSDEBUGGER) && QT_VERSION < 0x040800
-
-#include <qt_private/qdeclarativedebughelper_p.h>
-
-#if !defined(NO_JSDEBUGGER)
-#include <jsdebuggeragent.h>
-#endif
-#if !defined(NO_QMLOBSERVER)
-#include <qdeclarativeviewobserver.h>
-#endif
-
-// Enable debugging before any QDeclarativeEngine is created
-struct QmlJsDebuggingEnabler
-{
- QmlJsDebuggingEnabler()
- {
- QDeclarativeDebugHelper::enableDebugging();
- }
-};
-
-// Execute code in constructor before first QDeclarativeEngine is instantiated
-static QmlJsDebuggingEnabler enableDebuggingHelper;
-
-#endif // QMLJSDEBUGGER
-
-class QmlApplicationViewerPrivate
-{
- QString mainQmlFile;
- friend class QmlApplicationViewer;
- static QString adjustPath(const QString &path);
-};
-
-QString QmlApplicationViewerPrivate::adjustPath(const QString &path)
-{
-#ifdef Q_OS_MAC
- if (!QDir::isAbsolutePath(path))
- return QString::fromLatin1("%1/../Resources/%2")
- .arg(QCoreApplication::applicationDirPath(), path);
-#elif defined(Q_OS_BLACKBERRY)
- if (!QDir::isAbsolutePath(path))
- return QString::fromLatin1("app/native/%1").arg(path);
-#elif !defined(Q_OS_ANDROID)
- QString pathInInstallDir =
- QString::fromLatin1("%1/../%2").arg(QCoreApplication::applicationDirPath(), path);
- if (QFileInfo(pathInInstallDir).exists())
- return pathInInstallDir;
- pathInInstallDir =
- QString::fromLatin1("%1/%2").arg(QCoreApplication::applicationDirPath(), path);
- if (QFileInfo(pathInInstallDir).exists())
- return pathInInstallDir;
-#endif
- return path;
-}
-
-QmlApplicationViewer::QmlApplicationViewer(QWidget *parent)
- : QDeclarativeView(parent)
- , d(new QmlApplicationViewerPrivate())
-{
- connect(engine(), SIGNAL(quit()), SLOT(close()));
- setResizeMode(QDeclarativeView::SizeRootObjectToView);
-
- // Qt versions prior to 4.8.0 don't have QML/JS debugging services built in
-#if defined(QMLJSDEBUGGER) && QT_VERSION < 0x040800
-#if !defined(NO_JSDEBUGGER)
- new QmlJSDebugger::JSDebuggerAgent(engine());
-#endif
-#if !defined(NO_QMLOBSERVER)
- new QmlJSDebugger::QDeclarativeViewObserver(this, this);
-#endif
-#endif
-}
-
-QmlApplicationViewer::~QmlApplicationViewer()
-{
- delete d;
-}
-
-QmlApplicationViewer *QmlApplicationViewer::create()
-{
- return new QmlApplicationViewer();
-}
-
-void QmlApplicationViewer::setMainQmlFile(const QString &file)
-{
- d->mainQmlFile = QmlApplicationViewerPrivate::adjustPath(file);
-#ifdef Q_OS_ANDROID
- setSource(QUrl(QLatin1String("assets:/")+d->mainQmlFile));
-#else
- setSource(QUrl::fromLocalFile(d->mainQmlFile));
-#endif
-}
-
-void QmlApplicationViewer::addImportPath(const QString &path)
-{
- engine()->addImportPath(QmlApplicationViewerPrivate::adjustPath(path));
-}
-
-void QmlApplicationViewer::setOrientation(ScreenOrientation orientation)
-{
-#if QT_VERSION < 0x050000
- Qt::WidgetAttribute attribute;
- switch (orientation) {
-#if QT_VERSION < 0x040702
- // Qt < 4.7.2 does not yet have the Qt::WA_*Orientation attributes
- case ScreenOrientationLockPortrait:
- attribute = static_cast<Qt::WidgetAttribute>(128);
- break;
- case ScreenOrientationLockLandscape:
- attribute = static_cast<Qt::WidgetAttribute>(129);
- break;
- default:
- case ScreenOrientationAuto:
- attribute = static_cast<Qt::WidgetAttribute>(130);
- break;
-#else // QT_VERSION < 0x040702
- case ScreenOrientationLockPortrait:
- attribute = Qt::WA_LockPortraitOrientation;
- break;
- case ScreenOrientationLockLandscape:
- attribute = Qt::WA_LockLandscapeOrientation;
- break;
- default:
- case ScreenOrientationAuto:
- attribute = Qt::WA_AutoOrientation;
- break;
-#endif // QT_VERSION < 0x040702
- };
- setAttribute(attribute, true);
-#else // QT_VERSION < 0x050000
- Q_UNUSED(orientation)
-#endif // QT_VERSION < 0x050000
-}
-
-void QmlApplicationViewer::showExpanded()
-{
-#if defined(MEEGO_EDITION_HARMATTAN) || defined(Q_WS_SIMULATOR)
- showFullScreen();
-#elif defined(Q_WS_MAEMO_5) || defined(Q_OS_QNX)
- showMaximized();
-#else
- show();
-#endif
-}
-
-QApplication *createApplication(int &argc, char **argv)
-{
-#ifdef HARMATTAN_BOOSTER
- return MDeclarativeCache::qApplication(argc, argv);
-#else
- return new QApplication(argc, argv);
-#endif
-}
diff --git a/demos/qmlpolarchart/qmlapplicationviewer/qmlapplicationviewer.h b/demos/qmlpolarchart/qmlapplicationviewer/qmlapplicationviewer.h
deleted file mode 100644
index adcb232f..00000000
--- a/demos/qmlpolarchart/qmlapplicationviewer/qmlapplicationviewer.h
+++ /dev/null
@@ -1,46 +0,0 @@
-// checksum 0xc67a version 0x90018
-/*
- This file was generated by the Qt Quick Application wizard of Qt Creator.
- QmlApplicationViewer is a convenience class containing mobile device specific
- code such as screen orientation handling. Also QML paths and debugging are
- handled here.
- It is recommended not to modify this file, since newer versions of Qt Creator
- may offer an updated version of it.
-*/
-
-#ifndef QMLAPPLICATIONVIEWER_H
-#define QMLAPPLICATIONVIEWER_H
-
-#include <QDeclarativeView>
-
-class QmlApplicationViewer : public QDeclarativeView
-{
- Q_OBJECT
-
-public:
- enum ScreenOrientation {
- ScreenOrientationLockPortrait,
- ScreenOrientationLockLandscape,
- ScreenOrientationAuto
- };
-
- explicit QmlApplicationViewer(QWidget *parent = 0);
- virtual ~QmlApplicationViewer();
-
- static QmlApplicationViewer *create();
-
- void setMainQmlFile(const QString &file);
- void addImportPath(const QString &path);
-
- // Note that this will only have an effect on Fremantle.
- void setOrientation(ScreenOrientation orientation);
-
- void showExpanded();
-
-private:
- class QmlApplicationViewerPrivate *d;
-};
-
-QApplication *createApplication(int &argc, char **argv);
-
-#endif // QMLAPPLICATIONVIEWER_H
diff --git a/demos/qmlpolarchart/qmlapplicationviewer/qmlapplicationviewer.pri b/demos/qmlpolarchart/qmlapplicationviewer/qmlapplicationviewer.pri
deleted file mode 100644
index 567c6dc6..00000000
--- a/demos/qmlpolarchart/qmlapplicationviewer/qmlapplicationviewer.pri
+++ /dev/null
@@ -1,13 +0,0 @@
-QT += declarative
-
-SOURCES += $$PWD/qmlapplicationviewer.cpp
-HEADERS += $$PWD/qmlapplicationviewer.h
-INCLUDEPATH += $$PWD
-
-# Include JS debugger library if QMLJSDEBUGGER_PATH is set
-!isEmpty(QMLJSDEBUGGER_PATH) {
- include($$QMLJSDEBUGGER_PATH/qmljsdebugger-lib.pri)
-} else {
- DEFINES -= QMLJSDEBUGGER
-}
-
diff --git a/demos/qmlpolarchart/qmlpolarchart.pro b/demos/qmlpolarchart/qmlpolarchart.pro
deleted file mode 100644
index f661312b..00000000
--- a/demos/qmlpolarchart/qmlpolarchart.pro
+++ /dev/null
@@ -1,9 +0,0 @@
-!include( ../demos.pri ) {
- error( "Couldn't find the demos.pri file!" )
-}
-
-RESOURCES += resources.qrc
-SOURCES += main.cpp
-OTHER_FILES += qml/qmlpolarchart/*
-
-include(qmlapplicationviewer/qmlapplicationviewer.pri)
diff --git a/demos/qmlpolarchart/resources.qrc b/demos/qmlpolarchart/resources.qrc
deleted file mode 100644
index 854acbef..00000000
--- a/demos/qmlpolarchart/resources.qrc
+++ /dev/null
@@ -1,9 +0,0 @@
-<RCC>
- <qresource prefix="/">
- <file>qml/qmlpolarchart/loader.qml</file>
- <file>qml/qmlpolarchart/main.qml</file>
- <file>qml/qmlpolarchart/View1.qml</file>
- <file>qml/qmlpolarchart/View2.qml</file>
- <file>qml/qmlpolarchart/View3.qml</file>
- </qresource>
-</RCC>