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

OPC UA QML Types not found

Scheduled Pinned Locked Moved Solved General and Desktop
28 Posts 5 Posters 7.9k 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.
  • JKSHJ JKSH

    @LeLev said in OPC UA QML Types not found:

    So what do you think is wrong with my QtOpcUa install ?

    I'm not sure, sorry. I haven't tried to compile a module in a long time.

    I'll let someone more experienced take over.

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

    @JKSH hi,
    It looks like nobody used QML opcua types yet...
    i did a double post
    https://forum.qt.io/topic/97363/how-to-use-qtopcua-qml-types-windows-qt5-12-opensource/1
    is there a chance QtOpcUa is directly avalable in the 5.12.0 LTS ?

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

      @JKSH yes as i mentioned earlier i cant find opcua folder in C:\Qt\5.12.0\mingw73_64\qml

      So what do you think is wrong with my QtOpcUa install ?

      I know QML types came out with Qt 5.12

      QtOpcUa i compiled version log is

      SHA-1: 326bf6a1058d878b7891ee6d7078ed381c462df1
      Bump version number from 5.11.2 to 5.11.3
      

      Am i compiling wrong version ?
      Doc of QML opcua Types says

      Since:	QtOpcUa 5.12
      
      JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #14

      @LeLev said in OPC UA QML Types not found:

      I know QML types came out with Qt 5.12

      QtOpcUa i compiled version log is

      SHA-1: 326bf6a1058d878b7891ee6d7078ed381c462df1
      Bump version number from 5.11.2 to 5.11.3
      

      Am i compiling wrong version ?

      D'oh! I didn't notice this part earlier.

      You were compiling from the Qt 5.11 branch, which did not have the QML types.

      @LeLev said in OPC UA QML Types not found:

      is there a chance QtOpcUa is directly avalable in the 5.12.0 LTS ?

      Qt 5.12 has just been released, so have a look at its source code.

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      ODБOïO 1 Reply Last reply
      1
      • JKSHJ JKSH

        @LeLev said in OPC UA QML Types not found:

        I know QML types came out with Qt 5.12

        QtOpcUa i compiled version log is

        SHA-1: 326bf6a1058d878b7891ee6d7078ed381c462df1
        Bump version number from 5.11.2 to 5.11.3
        

        Am i compiling wrong version ?

        D'oh! I didn't notice this part earlier.

        You were compiling from the Qt 5.11 branch, which did not have the QML types.

        @LeLev said in OPC UA QML Types not found:

        is there a chance QtOpcUa is directly avalable in the 5.12.0 LTS ?

        Qt 5.12 has just been released, so have a look at its source code.

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

        @JKSH hi,
        but on github i select 5.12 in branch dropdown menu
        https://github.com/qt/qtopcua/tree/5.12

        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
        

        i don't understand why.

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

          @JKSH hi,
          but on github i select 5.12 in branch dropdown menu
          https://github.com/qt/qtopcua/tree/5.12

          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
          

          i don't understand why.

          JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote on last edited by
          #16

          @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

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          ODБOïO 1 Reply Last reply
          1
          • JKSHJ JKSH

            @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

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

            @JKSH Thx!

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

              @JKSH Thx!

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

              @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 1 Reply Last reply
              0
              • 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