summaryrefslogtreecommitdiff
path: root/examples/serialport/slave/slave.pro
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@digia.com>2013-04-30 14:46:08 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-05-03 17:01:47 +0200
commit494c616951d41f2f394a7157f8970e14096f41b4 (patch)
tree9e42e9970b4b28809d97c0de94acc9fa7a81c54e /examples/serialport/slave/slave.pro
parentbcdeb589dd9d3b0ff7270d380d043b1882eefdc0 (diff)
downloadqtserialport-494c616951d41f2f394a7157f8970e14096f41b4.tar.gz
Fix examples directory layout
Move examples into a dedicated 'serialport' directory. This is in line with what the other modules do, and makes sure that the examples show up in a sensible place even for the 'combined' source packages. Task-number: QTBUG-30912 Change-Id: Iefa2b634df3d2eb34f655b34f6fb24a224b78869 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Laszlo Papp <lpapp@kde.org> Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Diffstat (limited to 'examples/serialport/slave/slave.pro')
-rw-r--r--examples/serialport/slave/slave.pro15
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/serialport/slave/slave.pro b/examples/serialport/slave/slave.pro
new file mode 100644
index 0000000..df996ac
--- /dev/null
+++ b/examples/serialport/slave/slave.pro
@@ -0,0 +1,15 @@
+greaterThan(QT_MAJOR_VERSION, 4) {
+ QT += widgets serialport
+} else {
+ include($$QTSERIALPORT_PROJECT_ROOT/src/serialport/qt4support/serialport.prf)
+}
+
+TARGET = slave
+TEMPLATE = app
+
+HEADERS += \
+ dialog.h
+
+SOURCES += \
+ main.cpp \
+ dialog.cpp