diff options
author | Andy Nichols <andy.nichols@theqtcompany.com> | 2014-12-08 10:46:10 +0100 |
---|---|---|
committer | Andy Nichols <andy.nichols@theqtcompany.com> | 2014-12-08 16:47:21 +0200 |
commit | 60abc54a97b734ae4d41543bd3188306aed0a112 (patch) | |
tree | 9ecbcc93880e2103cbb7bece96c9b4da5b40438f /basicsuite/enterprise-flat-controls/main.cpp | |
parent | cce482c6e26f5c16585dd38fb9852e30336acf52 (diff) |
Remove Flat controls demo code
Now we will pull from the upstream repo instead.
Change-Id: Ice13517f5f12d4c2194e13fc108002e2e8ac7235
Reviewed-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@theqtcompany.com>
Diffstat (limited to 'basicsuite/enterprise-flat-controls/main.cpp')
-rw-r--r-- | basicsuite/enterprise-flat-controls/main.cpp | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/basicsuite/enterprise-flat-controls/main.cpp b/basicsuite/enterprise-flat-controls/main.cpp deleted file mode 100644 index 013e574..0000000 --- a/basicsuite/enterprise-flat-controls/main.cpp +++ /dev/null @@ -1,35 +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 QtQuick Enterprise Controls Add-on. -** -** $QT_BEGIN_LICENSE$ -** Licensees holding valid Qt Commercial licenses may use this file in -** accordance with the Qt Commercial 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 <QtGui/QGuiApplication> -#include <QtQml/QQmlApplicationEngine> -#include <QtGui/QFontDatabase> -#include <QtCore/QDir> - -int main(int argc, char *argv[]) -{ - QGuiApplication app(argc, argv); - if (qgetenv("QT_QUICK_CONTROLS_STYLE").isEmpty()) { - qputenv("QT_QUICK_CONTROLS_STYLE", "Flat"); - } - QQmlApplicationEngine engine; - engine.load(QUrl("qrc:/main.qml")); - return app.exec(); -} |