OPC UA QML Types not found
-
@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 fetchbefore?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.
-
@LeLev
Did you do
git fetchbefore?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
@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 ? -
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 -dfxremoves 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
-
@aha_1980
i did :git clone
cd qtopcua && mkdir build && cd build
qmake ..
mingw32-make
mingw32_make installso i can only delete my build folder right ?
thx@LeLev Correct! :)
-
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 noutput is
Qt Opcua: FreeOpcua......................... no Open62541......................... yes Unified Automation C++ SDK........ noBut 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 .......... noi made new post for this..
Thank you -
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 noutput is
Qt Opcua: FreeOpcua......................... no Open62541......................... yes Unified Automation C++ SDK........ noBut 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 .......... noi made new post for this..
Thank youQtopcua Build process has changed, now Open62541 is included - see Building Qt OPC UA with open62541