summaryrefslogtreecommitdiff
path: root/qtserialport.pro
diff options
context:
space:
mode:
authorMaurice Kalinowski <maurice.kalinowski@digia.com>2014-07-07 11:58:34 +0200
committerMaurice Kalinowski <maurice.kalinowski@digia.com>2014-07-08 12:12:26 +0200
commit4f1ab4d73b25e983991e310206237fd9b6474130 (patch)
treec73e77db8b6537279e3c7501fd7614b32105ea8c /qtserialport.pro
parentd8226052bc93e68c17646f5b1242d27507e5da39 (diff)
downloadqtserialport-4f1ab4d73b25e983991e310206237fd9b6474130.tar.gz
Correct WinRT exclusion to top-level pro file
So far only the module was excluded, but not the examples. Adopt to a style which has been approved for other modules as well by using requires. Change-Id: I8a8bbeb8c5db1bdb2e508da0988a38bbb1789986 Reviewed-by: Oliver Wolff <oliver.wolff@digia.com> Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'qtserialport.pro')
-rw-r--r--qtserialport.pro2
1 files changed, 2 insertions, 0 deletions
diff --git a/qtserialport.pro b/qtserialport.pro
index 445fe18..3220d2f 100644
--- a/qtserialport.pro
+++ b/qtserialport.pro
@@ -1,3 +1,5 @@
+requires(!winrt)
+
lessThan(QT_MAJOR_VERSION, 5) {
TEMPLATE = subdirs
SUBDIRS = src examples tests