[Interest] QtOpcUa 5.12.0 build

Maurice Kalinowski Maurice.Kalinowski at qt.io
Wed Dec 19 09:36:22 CET 2018


Hi,

As Thiago said, the config.log should reveal some more insights. Also for 5.12 we moved to a later version of Open62541 as there were files being moved around. Please note, that the very latest open62541 again changed the structure of the include directory, a patch for that is pending.

Generally the OPEN62541_INCDIR / LIBDIR variables have been deprecated. This is a generic qmake change, with Qt OpcUa being a leaf module adapting to this.
At least from your command line, it seems OPEN62541_PREFIX is not pointing to the correct directory. It should rather point to C:\users\lev\documents\lib\open62541\build. Qmake tries to identify include/lib path from the prefix path, it does not go multiple levels below this.

Meaning, the _PREFIX option was basically worthless in your 5.11 build, the manual specify of INCDIR and LIBDIR is what made it work for you.

Maurice


From: Interest <interest-bounces at qt-project.org> On Behalf Of AGAYEV, LEVON
Sent: Tuesday, December 18, 2018 3:39 PM
To: interest at qt-project.org
Subject: [Interest] QtOpcUa 5.12.0 build

Hello,

I’m trying to build QtOpcUa 5.12
(with qtopcua5.11 i have no issues)

Platform : Windows
Qt : Qt 5.12.0
Compiler : Mingw 62bit
QtOpcUa backend : Open62541

After I call qmake I should have an output like :

Open62541……………………………………..yes

But I got ‘no’.

The exact same qmake command works as expected with QtOpcUa 5.11 as i said

Is there new settings to use with qmake to build QtOpcUa ?

_____________________________________________________

git checkout v5.11.0

qmake c:\users\lev\Documents\LIB\qtopcua -- OPEN62541_PREFIX=c:\users\lev\document
s\lib\open62541 OPEN62541_INCDIR=c:\users\lev\documents\lib\open62541\build OPEN62541_LIBDIR=c:\users\lev\documents\lib\open62541\bu
ild\bin



Qt Opcua:

  Open62541 .............................. yes

  Unified Automation C++ SDK ............. no

  Namespace 0 NodeIds generator .......... no

git checkout v5.12.0

qmake [same thing]



Qt Opcua:

  Open62541 .............................. no

  Unified Automation C++ SDK ............. no

  Namespace 0 NodeIds generator .......... no
________________________________________________________

Thank you in advance!
Levon

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20181219/4f2408ef/attachment.html>


More information about the Interest mailing list