summaryrefslogtreecommitdiffstats
path: root/examples/serialport/cwritersync/cwritersync.pro
diff options
context:
space:
mode:
authorLaszlo Papp <lpapp@kde.org>2013-10-24 13:53:16 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-25 12:30:09 +0200
commit9f8f2d6dc6f38b54a91f4a3d7ebf4285891005d3 (patch)
treef0d8b3e566fa71c31fe12ccb6ee67a99119dbb95 /examples/serialport/cwritersync/cwritersync.pro
parentc872f638199575e63d1b18b204da67ce64c9a020 (diff)
Add a new simple and command line writer example
Change-Id: I5d893d18477790def27bfa1fa051d459a8193db5 Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com> Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Diffstat (limited to 'examples/serialport/cwritersync/cwritersync.pro')
-rw-r--r--examples/serialport/cwritersync/cwritersync.pro16
1 files changed, 16 insertions, 0 deletions
diff --git a/examples/serialport/cwritersync/cwritersync.pro b/examples/serialport/cwritersync/cwritersync.pro
new file mode 100644
index 00000000..14cba72c
--- /dev/null
+++ b/examples/serialport/cwritersync/cwritersync.pro
@@ -0,0 +1,16 @@
+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 = cwritersync
+TEMPLATE = app
+
+SOURCES += \
+ main.cpp