summaryrefslogtreecommitdiff
path: root/examples/simple/example.pro
authorzecke <zecke>2003-08-30 20:23:05 (UTC)
committer zecke <zecke>2003-08-30 20:23:05 (UTC)
commit4c3a1de5289631db05b86a07092f0a334608dcf6 (patch) (side-by-side diff)
tree90caf9b05312013006dad0af7f039ed1c595842d /examples/simple/example.pro
parentcc1e68e0b6e0677e0523382daeb12d60ba0b67c9 (diff)
downloadopie-4c3a1de5289631db05b86a07092f0a334608dcf6.zip
opie-4c3a1de5289631db05b86a07092f0a334608dcf6.tar.gz
opie-4c3a1de5289631db05b86a07092f0a334608dcf6.tar.bz2
Add four examples
#1 simple widget + OApplicationFactory + qmake usage explained #2 simple icons + usage of Resource and playing of sounds #3 simple main + Toolbar + MenuBar IconSets and QActions explained #4 main tab + Usage of OTabWidget and QSignals with parameters disconnect and connect TODO #5 PIM loading and viewing #6 PIM qcop + usage of QCOP BuildSystem integration
Diffstat (limited to 'examples/simple/example.pro') (more/less context) (ignore whitespace changes)
-rw-r--r--examples/simple/example.pro38
1 files changed, 38 insertions, 0 deletions
diff --git a/examples/simple/example.pro b/examples/simple/example.pro
new file mode 100644
index 0000000..4c41b29
--- a/dev/null
+++ b/examples/simple/example.pro
@@ -0,0 +1,38 @@
+# '#' introduces a comment
+#CONFIG says the qmake buildsystem what to use
+#
+CONFIG += qt warn_on quick-app
+# qt = Use qt
+# warn_on = warnings are on
+# quick-app = Tell the buildsystem that the apps is quick-launchable
+#
+
+# Note if you do not supply quick-app you need to set
+# TEMPLATE = app or TEMPLATE = lib depending on if you want to build an executable or lib
+# and DESTDIR= $(OPIEDIR)/bin or $(OPIEDIR)/lib
+
+TARGET = simple
+# the name of the resulting object
+
+HEADERS = simple.h
+# A list header files
+
+
+SOURCES = simple.cpp
+# A list of source files
+
+INTERFACES =
+# list of ui files
+
+INCLUDEPATH += $(OPIEDIR)/include
+DEPENDPATH += $(OPIEDIR)/include
+
+
+
+LIBS += -lqpe
+# libs to link against
+
+#Important include the global include.pro just like below
+
+
+include ( $(OPIEDIR)/include.pro )