From dfe04a7197eee6cf550abcba0341f510837706b5 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Fri, 14 Dec 2018 18:13:07 +0100 Subject: fix project structure of open62541 plugin the canonical place for the load(qt_plugin) is at the end of the file, and there is no need to manually link libraries which come from the configure system via QMAKE_USE. Change-Id: I35867c8d5933ce72adcdd885567584bc912246e1 Reviewed-by: Rainer Keller --- src/plugins/opcua/open62541/open62541.pro | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/plugins/opcua/open62541/open62541.pro b/src/plugins/opcua/open62541/open62541.pro index 8c357df..b8f9d90 100644 --- a/src/plugins/opcua/open62541/open62541.pro +++ b/src/plugins/opcua/open62541/open62541.pro @@ -1,12 +1,7 @@ TARGET = open62541_backend QT += core core-private opcua opcua-private network -PLUGIN_TYPE = opcua -PLUGIN_CLASS_NAME = QOpen62541Plugin -load(qt_plugin) - QMAKE_USE_PRIVATE += open62541 -win32-msvc: LIBS += open62541.lib ws2_32.lib HEADERS += \ qopen62541backend.h \ @@ -28,3 +23,7 @@ SOURCES += \ qopen62541utils.cpp OTHER_FILES = open62541-metadata.json + +PLUGIN_TYPE = opcua +PLUGIN_CLASS_NAME = QOpen62541Plugin +load(qt_plugin) -- cgit v1.2.3