summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRainer Keller <Rainer.Keller@qt.io>2018-01-12 12:17:14 (GMT)
committerRainer Keller <Rainer.Keller@qt.io>2018-01-12 13:21:38 (GMT)
commitf8d6d88e0719b0be2d028044bbd25768b425109c (patch)
tree2fd7d810bad18e0ef52d475ad76095e6bb531d69
parent00f3e2df573400c7ee350bc2b2c5e89e50ab27ca (diff)
downloadqtserialport-f8d6d88e0719b0be2d028044bbd25768b425109c.tar.gz
qtlite: Skip building examples when configured with no-feature-itemviews
Task-number: QTBUG-53141 Change-Id: I4d54749396ad8981db3649e2eca660ef7e2520cb Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
-rw-r--r--examples/serialport/blockingmaster/blockingmaster.pro1
-rw-r--r--examples/serialport/blockingslave/blockingslave.pro1
-rw-r--r--examples/serialport/master/master.pro1
-rw-r--r--examples/serialport/slave/slave.pro1
-rw-r--r--examples/serialport/terminal/terminal.pro1
5 files changed, 5 insertions, 0 deletions
diff --git a/examples/serialport/blockingmaster/blockingmaster.pro b/examples/serialport/blockingmaster/blockingmaster.pro
index 7cf76d8..8e3356b 100644
--- a/examples/serialport/blockingmaster/blockingmaster.pro
+++ b/examples/serialport/blockingmaster/blockingmaster.pro
@@ -1,4 +1,5 @@
QT += widgets serialport
+requires(qtConfig(combobox))
TARGET = blockingmaster
TEMPLATE = app
diff --git a/examples/serialport/blockingslave/blockingslave.pro b/examples/serialport/blockingslave/blockingslave.pro
index 11b9b80..4e2a25d 100644
--- a/examples/serialport/blockingslave/blockingslave.pro
+++ b/examples/serialport/blockingslave/blockingslave.pro
@@ -1,4 +1,5 @@
QT += widgets serialport
+requires(qtConfig(combobox))
TARGET = blockingslave
TEMPLATE = app
diff --git a/examples/serialport/master/master.pro b/examples/serialport/master/master.pro
index 354d174..3eb9dda 100644
--- a/examples/serialport/master/master.pro
+++ b/examples/serialport/master/master.pro
@@ -1,5 +1,6 @@
greaterThan(QT_MAJOR_VERSION, 4) {
QT += widgets serialport
+ requires(qtConfig(combobox))
} else {
include($$QTSERIALPORT_PROJECT_ROOT/src/serialport/qt4support/serialport.prf)
}
diff --git a/examples/serialport/slave/slave.pro b/examples/serialport/slave/slave.pro
index 54e7d02..eb684ff 100644
--- a/examples/serialport/slave/slave.pro
+++ b/examples/serialport/slave/slave.pro
@@ -1,5 +1,6 @@
greaterThan(QT_MAJOR_VERSION, 4) {
QT += widgets serialport
+ requires(qtConfig(combobox))
} else {
include($$QTSERIALPORT_PROJECT_ROOT/src/serialport/qt4support/serialport.prf)
}
diff --git a/examples/serialport/terminal/terminal.pro b/examples/serialport/terminal/terminal.pro
index 4dbed02..fda5a8a 100644
--- a/examples/serialport/terminal/terminal.pro
+++ b/examples/serialport/terminal/terminal.pro
@@ -1,4 +1,5 @@
QT += widgets serialport
+requires(qtConfig(combobox))
TARGET = terminal
TEMPLATE = app