--- /dev/null
+/*
+ * Copyright (C) 2013 Tomasz Olszak <olszak.tomasz@gmail.com>
+ * All rights reserved.
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+
+ * 1. Redistributions of source code must retain the copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 3. The name of the author may not be used to endorse or promote products
+ * derived from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include <QGuiApplication>
+#include <QQuickWindow>
+#include <QtDebug>
+#include <QtGlobal>
+#include <QQmlApplicationEngine>
+
+extern "C" int OspMain(int argc, char *argv[])
+{
+ qputenv("QT_QUICK_CONTROLS_STYLE","Tizen");
+ QGuiApplication app(argc,argv);
+
+ QQmlApplicationEngine engine(QUrl("qrc:///main.qml"));
+ QQuickWindow *window = qobject_cast<QQuickWindow *>(engine.rootObjects().at(0));
+ if (window) {
+ window->show();
+ return app.exec();
+ } else {
+ qWarning() << "null window";
+ return -1;
+ }
+}
+
+
+int main(int argc, char *argv[]) {
+ return OspMain(argc,argv);
+}
--- /dev/null
+<RCC>
+ <qresource prefix="/">
+ <file>main.qml</file>
+ <file>images/toolbar.png</file>
+ <file>images/textinput.png</file>
+ <file>images/tabs_standard.png</file>
+ <file>images/tab_selected.png</file>
+ <file>images/navigation_previous_item.png</file>
+ <file>images/navigation_next_item.png</file>
+ <file>images/internet-web-browser.png</file>
+ <file>images/internet-mail.png</file>
+ <file>images/button_pressed.png</file>
+ <file>images/button_default.png</file>
+ <file>content/ContextMenuPage.qml</file>
+ <file>content/SplitViewPage.qml</file>
+ <file>content/TextInputPage.qml</file>
+ <file>content/TabBarPage.qml</file>
+ <file>content/SliderPage.qml</file>
+ <file>content/ProgressBarPage.qml</file>
+ <file>content/CheckBoxPage.qml</file>
+ <file>content/ButtonPage.qml</file>
+ <file>content/AndroidDelegate.qml</file>
+ </qresource>
+ <qresource prefix="/qt/etc">
+ <file>qt.conf</file>
+ </qresource>
+</RCC>