summaryrefslogtreecommitdiffstats
path: root/examples/serialport/cwriterasync/cwriterasync.pro
diff options
context:
space:
mode:
authorLaszlo Papp <lpapp@kde.org>2013-10-26 10:53:16 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-11-05 08:16:03 +0100
commit26458aef426cde967433035d2af0ab244db3aec0 (patch)
tree0fe0493775b295a0917f539ddd333e3dc0684079 /examples/serialport/cwriterasync/cwriterasync.pro
parentca6365369d6676053878d7501f8236582eed94b7 (diff)
Add a new simple and command line async writer example
Change-Id: I8f33126de5c78da9a4a0dbddd16eecde7044f0c5 Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com> Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Diffstat (limited to 'examples/serialport/cwriterasync/cwriterasync.pro')
-rw-r--r--examples/serialport/cwriterasync/cwriterasync.pro20
1 files changed, 20 insertions, 0 deletions
diff --git a/examples/serialport/cwriterasync/cwriterasync.pro b/examples/serialport/cwriterasync/cwriterasync.pro
new file mode 100644
index 00000000..8a64cebd
--- /dev/null
+++ b/examples/serialport/cwriterasync/cwriterasync.pro
@@ -0,0 +1,20 @@
+QT = core
+
+greaterThan(QT_MAJOR_VERSION, 4) {
+ QT += serialport
+} else {
+ include($$QTSERIALPORT_PROJECT_ROOT/src/serialport/qt4support/serialport.prf)
+}
+
+CONFIG += console
+CONFIG -= app_bundle
+
+TARGET = cwriterasync
+TEMPLATE = app
+
+HEADERS += \
+ serialportwriter.h
+
+SOURCES += \
+ main.cpp \
+ serialportwriter.cpp