Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. OPC UA QML Types not found
Forum Updated to NodeBB v4.3 + New Features

OPC UA QML Types not found

Scheduled Pinned Locked Moved Solved General and Desktop
28 Posts 5 Posters 4.5k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ODБOïO ODБOï

    @JKSH one more question please.

    Can i just update (git checkout v5.12.0) my QtOpcUa and re-do

    qmake
    make
    make-install

    directly or i have to delete my current (5.11) QtOpcUa installation ?

    edit :
    and git checkout v5.12.0 gives me error

    error: pathspec 'v5.12.0' did not match any file(s) known to git.
    
    aha_1980A Offline
    aha_1980A Offline
    aha_1980
    Lifetime Qt Champion
    wrote on last edited by aha_1980
    #19

    @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

    URL is https://code.qt.io/qt/qtopcua.git

    Qt has to stay free or it will die.

    ODБOïO 1 Reply Last reply
    1
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #20

      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.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      ODБOïO 1 Reply Last reply
      2
      • aha_1980A aha_1980

        @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

        URL is https://code.qt.io/qt/qtopcua.git

        ODБOïO Offline
        ODБOïO Offline
        ODБOï
        wrote on last edited by
        #21

        @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 ?

        aha_1980A 1 Reply Last reply
        0
        • SGaistS SGaist

          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.

          ODБOïO Offline
          ODБOïO Offline
          ODБOï
          wrote on last edited by
          #22

          @SGaist thanks
          this is good to know for the next time

          1 Reply Last reply
          0
          • ODБOïO ODБOï

            @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 ?

            aha_1980A Offline
            aha_1980A Offline
            aha_1980
            Lifetime Qt Champion
            wrote on last edited by
            #23

            @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

            Qt has to stay free or it will die.

            1 Reply Last reply
            2
            • ODБOïO Offline
              ODБOïO Offline
              ODБOï
              wrote on last edited by ODБOï
              #24

              @aha_1980
              i did :

              git clone
              cd qtopcua && mkdir build && cd build
              qmake ..
              mingw32-make
              mingw32_make install

              so i can only delete my build folder right ?
              thx

              aha_1980A 1 Reply Last reply
              0
              • ODБOïO ODБOï

                @aha_1980
                i did :

                git clone
                cd qtopcua && mkdir build && cd build
                qmake ..
                mingw32-make
                mingw32_make install

                so i can only delete my build folder right ?
                thx

                aha_1980A Offline
                aha_1980A Offline
                aha_1980
                Lifetime Qt Champion
                wrote on last edited by
                #25

                @LeLev Correct! :)

                Qt has to stay free or it will die.

                1 Reply Last reply
                2
                • ODБOïO Offline
                  ODБOïO Offline
                  ODБOï
                  wrote on last edited by
                  #26

                  Thank you very much guys

                  1 Reply Last reply
                  0
                  • ODБOïO Offline
                    ODБOïO Offline
                    ODБOï
                    wrote on last edited by ODБOï
                    #27

                    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

                    ODБOïO 1 Reply Last reply
                    0
                    • ODБOïO ODБOï

                      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

                      ODБOïO Offline
                      ODБOïO Offline
                      ODБOï
                      wrote on last edited by
                      #28

                      Qtopcua Build process has changed, now Open62541 is included - see Building Qt OPC UA with open62541

                      1 Reply Last reply
                      2

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved