OPC UA QML Types not found
-
@LeLev said in OPC UA QML Types not found:
i clone it, then if i do 'git log' i see the same thing
SHA-1: 326bf6a1058d878b7891ee6d7078ed381c462df1 Bump version number from 5.11.2 to 5.11.3
That's the Qt 5.11 branch.
Call
git checkout v5.12.0
-
@JKSH one more question please.
Can i just update (git checkout v5.12.0) my QtOpcUa and re-do
qmake
make
make-installdirectly or i have to delete my current (5.11) QtOpcUa installation ?
edit :
and git checkout v5.12.0 gives me errorerror: pathspec 'v5.12.0' did not match any file(s) known to git.
-
@LeLev
Did you do
git fetch
before?Depending on your remote name, you'll probably need
git checkout origin/v5.12.0
.PS: Don't forget to remove all build results from to old Qt version before building new.
Edit: It seems that github repository is outdated. Please clone from (or add as remote) the official repository http://code.qt.io/cgit/qt/qtopcua.git
-
Hi,
Github is to be considered a backup mirror. It might (as you discovered) be a bit outdated with regards to current state of https://code.qt.io.
-
@aha_1980 Thank you! now i got qtopcua 5.12!
@aha_1980 said in OPC UA QML Types not found:
PS: Don't forget to remove all build results from to old Qt version before building new.
Do you mean i have to delete for exemple : Qt5OpcUa.dll / Qt5OpcUad.dll
from my C:\Qt\5.12.0\mingw73_64\bin dir before i reinstall newer version ? -
@LeLev said in OPC UA QML Types not found:
Do you mean i have to delete for exemple : Qt5OpcUa.dll / Qt5OpcUad.dll
from my C:\Qt\5.12.0\mingw73_64\bin dir before i reinstall newer version ?I'm not sure how you did build the module before. Did you use shadow building? Then I'd just wipe the shadow build folder. Or did you build inside the source dir? Then a
git clean -dfx
removes everything that is not under version control.Deleting the DLLs will not hurt, but they should be overwriten by
make install
. More critical are the things I mentioned above, e.g. old Makefiles.Regards
-
Hello
Dear @aha_1980 and @SGaist do you please know why qtopcua 5.12.0 cant find open62541 backend ?With my qtopcua 5.11 i do
qmake c:\users\lagayev.meca\documents\lib\qtopcua -- OPEN62541_PREFIX=c:\users\lagayev.meca\documents\lib\ open62541 OPEN62541_INCDIR=c:\users\lagayev.meca\documents\lib\open62541\build OPEN62541_LIBDIR=c:\users\lagayev.meca\documents\lib\open62541\build\bi n
output is
Qt Opcua: FreeOpcua......................... no Open62541......................... yes Unified Automation C++ SDK........ no
But with qtopcua 5.12.0 output is
Qt Opcua: Open62541 .............................. no Unified Automation C++ SDK ............. no Support for namespace 0 NodeId names ... yes Namespace 0 NodeIds generator .......... no
i made new post for this..
Thank you