summaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
authorChristian Kamm <christian.d.kamm@nokia.com>2010-02-26 09:40:50 +0100
committerChristian Kamm <christian.d.kamm@nokia.com>2010-02-26 09:40:50 +0100
commit40c3f2af63cd3c584f355e49d1b2b19be579ce60 (patch)
tree13a37759f849b9b9a30c8462e112cca4a75941cc /example
Initial version of the remote control widget.
Diffstat (limited to 'example')
-rw-r--r--example/example.pro16
-rw-r--r--example/main.cpp13
2 files changed, 29 insertions, 0 deletions
diff --git a/example/example.pro b/example/example.pro
new file mode 100644
index 0000000..9b8f895
--- /dev/null
+++ b/example/example.pro
@@ -0,0 +1,16 @@
+#-------------------------------------------------
+#
+# Project created by QtCreator 2010-02-25T15:28:57
+#
+#-------------------------------------------------
+
+QT += core gui
+
+TARGET = example
+TEMPLATE = app
+
+INCLUDEPATH += ../library
+LIBS += -L../library -lremotecontrolwidget -Wl,-rpath=../library
+
+SOURCES += main.cpp
+
diff --git a/example/main.cpp b/example/main.cpp
new file mode 100644
index 0000000..1274a5b
--- /dev/null
+++ b/example/main.cpp
@@ -0,0 +1,13 @@
+#include <QtGui/QApplication>
+#include "remotecontrolwidget.h"
+#include "locationui.h"
+
+int main(int argc, char *argv[])
+{
+ QApplication a(argc, argv);
+ RemoteControlWidget w;
+ LocationUi l(&w);
+
+ w.show();
+ return a.exec();
+}