diff options
author | Maurice Kalinowski <maurice.kalinowski@digia.com> | 2014-07-07 11:58:34 +0200 |
---|---|---|
committer | Maurice Kalinowski <maurice.kalinowski@digia.com> | 2014-07-08 12:12:26 +0200 |
commit | 4f1ab4d73b25e983991e310206237fd9b6474130 (patch) | |
tree | c73e77db8b6537279e3c7501fd7614b32105ea8c | |
parent | d8226052bc93e68c17646f5b1242d27507e5da39 (diff) |
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>
-rw-r--r-- | qtserialport.pro | 2 | ||||
-rw-r--r-- | src/src.pro | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/qtserialport.pro b/qtserialport.pro index 445fe180..3220d2ff 100644 --- a/qtserialport.pro +++ b/qtserialport.pro @@ -1,3 +1,5 @@ +requires(!winrt) + lessThan(QT_MAJOR_VERSION, 5) { TEMPLATE = subdirs SUBDIRS = src examples tests diff --git a/src/src.pro b/src/src.pro index 072ffd04..1426d64e 100644 --- a/src/src.pro +++ b/src/src.pro @@ -1,3 +1,3 @@ TEMPLATE = subdirs -!winrt:SUBDIRS = serialport +SUBDIRS = serialport |