diff options
author | Sona Kurazyan <sona.kurazyan@qt.io> | 2019-11-07 09:47:28 +0100 |
---|---|---|
committer | Sona Kurazyan <sona.kurazyan@qt.io> | 2019-11-07 20:35:56 +0100 |
commit | f5b289fbe037f52e42e1a0ce8e484cb497c3d530 (patch) | |
tree | 75f4795d8243ea4e64cf40f8565afd19f7ca7ab7 | |
parent | d7549a362676a18bebe661338c3b09b1469eb730 (diff) |
Fix QtCoAP examples build
Fixed the condition for building the simplecoapclient example.
It should depend on availability of Qt widgets, not gui.
Fixes: QTBUG-79788
Change-Id: I075861360fc3e3d4adecb47fff6dcc73391d020e
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
-rw-r--r-- | examples/coap/coap.pro | 2 | ||||
-rw-r--r-- | examples/coap/simplecoapclient/simplecoapclient.pro | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/coap/coap.pro b/examples/coap/coap.pro index befe3b7..81478f9 100644 --- a/examples/coap/coap.pro +++ b/examples/coap/coap.pro @@ -2,7 +2,7 @@ TEMPLATE = subdirs SUBDIRS += consolecoapclient -qtHaveModule(gui) SUBDIRS += simplecoapclient +qtHaveModule(widgets): SUBDIRS += simplecoapclient qtHaveModule(quick) { SUBDIRS += \ diff --git a/examples/coap/simplecoapclient/simplecoapclient.pro b/examples/coap/simplecoapclient/simplecoapclient.pro index d83d7b3..07f39a8 100644 --- a/examples/coap/simplecoapclient/simplecoapclient.pro +++ b/examples/coap/simplecoapclient/simplecoapclient.pro @@ -1,4 +1,4 @@ -QT += core gui network coap widgets +QT += core network coap widgets TARGET = simplecoapclient TEMPLATE = app |