diff options
author | Oswald Buddenhagen <oswald.buddenhagen@qt.io> | 2018-12-14 18:13:07 +0100 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@gmx.de> | 2018-12-31 19:26:23 +0000 |
commit | dfe04a7197eee6cf550abcba0341f510837706b5 (patch) | |
tree | 59806dee101a41c091bcfd53de7faa18285ad562 | |
parent | 19ddf7c9a49b52a1ceaef4ec837b8544a334c44d (diff) |
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 <Rainer.Keller@qt.io>
-rw-r--r-- | src/plugins/opcua/open62541/open62541.pro | 9 |
1 files 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) |