diff options
-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 |