diff options
author | Liang Qi <liang.qi@qt.io> | 2019-06-20 14:12:02 +0200 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2019-06-20 14:12:56 +0200 |
commit | 179c500bcd93a391901d1282e8eaa6668349e679 (patch) | |
tree | 14f7eae057c0602403f2c5193e3b347f230b4c9f | |
parent | 32c2d76a800bf0b745f237866180b74231a4df0d (diff) |
Fix build with -no-gui
Task-number: QTQAINFRA-2576
Change-Id: I34b3c66f53ef03d83906b8df7236b0f50e34fe71
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
-rw-r--r-- | examples/opcua/opcua.pro | 2 | ||||
-rw-r--r-- | src/opcua/opcua.pro | 1 | ||||
-rw-r--r-- | src/plugins/opcua/open62541/open62541.pro | 1 | ||||
-rw-r--r-- | src/plugins/opcua/uacpp/uacpp.pro | 1 |
4 files changed, 4 insertions, 1 deletions
diff --git a/examples/opcua/opcua.pro b/examples/opcua/opcua.pro index 75f5761..eb396c5 100644 --- a/examples/opcua/opcua.pro +++ b/examples/opcua/opcua.pro @@ -1,5 +1,5 @@ TEMPLATE = subdirs -SUBDIRS += \ +qtHaveModule(widgets): SUBDIRS += \ opcuaviewer \ QT_FOR_CONFIG += opcua-private diff --git a/src/opcua/opcua.pro b/src/opcua/opcua.pro index fba759b..2f77a5e 100644 --- a/src/opcua/opcua.pro +++ b/src/opcua/opcua.pro @@ -1,5 +1,6 @@ TARGET = QtOpcUa QT += core-private +QT -= gui include(core/core.pri) include(client/client.pri) diff --git a/src/plugins/opcua/open62541/open62541.pro b/src/plugins/opcua/open62541/open62541.pro index 90a56f6..5f77419 100644 --- a/src/plugins/opcua/open62541/open62541.pro +++ b/src/plugins/opcua/open62541/open62541.pro @@ -1,5 +1,6 @@ TARGET = open62541_backend QT += core core-private opcua opcua-private network +QT -= gui qtConfig(open62541):!qtConfig(system-open62541) { include($$PWD/../../../3rdparty/open62541.pri) diff --git a/src/plugins/opcua/uacpp/uacpp.pro b/src/plugins/opcua/uacpp/uacpp.pro index 9f341c3..ce36432 100644 --- a/src/plugins/opcua/uacpp/uacpp.pro +++ b/src/plugins/opcua/uacpp/uacpp.pro @@ -1,5 +1,6 @@ TARGET = uacpp_backend QT += core core-private opcua opcua-private network +QT -= gui QMAKE_USE += uacpp win32: DEFINES += _UA_STACK_USE_DLL |