<div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mer. 29 juil. 2020 à 09:56, <<a href="mailto:development-request@qt-project.org">development-request@qt-project.org</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send Development mailing list submissions to<br>
        <a href="mailto:development@qt-project.org" target="_blank">development@qt-project.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://lists.qt-project.org/listinfo/development" rel="noreferrer" target="_blank">https://lists.qt-project.org/listinfo/development</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:development-request@qt-project.org" target="_blank">development-request@qt-project.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:development-owner@qt-project.org" target="_blank">development-owner@qt-project.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Development digest..."<br>
Today's Topics:<br>
<br>
   1. Writing to upc ua server with     QOpcUaNode::writeAttributeRange<br>
      (AGAYEV, LEVON)<br>
   2. Re: Writing to upc ua server      with<br>
      QOpcUaNode::writeAttributeRange (Jannis Völker)<br>
   3. Re: Qt5.14 Prl files are missing for Mac framework build?<br>
      (Иван Комиссаров)<br>
   4. Re: Qt5.14 Prl files are missing for Mac framework build?<br>
      (Alexandru Croitor)<br>
<br><br><br>---------- Forwarded message ----------<br>From: "AGAYEV, LEVON" <<a href="mailto:levon.agayev@g-mail.fr" target="_blank">levon.agayev@g-mail.fr</a>><br>To: <a href="mailto:development@qt-project.org" target="_blank">development@qt-project.org</a><br>Cc: <br>Bcc: <br>Date: Tue, 28 Jul 2020 16:41:32 +0200<br>Subject: [Development] Writing to upc ua server with QOpcUaNode::writeAttributeRange<br><div dir="ltr">Hello,<div>I apologise for my bad english in advance..<br></div><div>After searching for a while and not finding any solution i have to bother you here.<br></div><div><br></div><div>I am trying to read and write to an array of doubles in my opcua server.</div><div>Reading works good but I have troubles with the use of  QOpcUaNode::writeAttributeRange methode.</div><div><br></div><div>this is what i try </div><div><span style="color:black;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit">QList<QVariant> myList;</span></div><div><span style="color:black;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit">   </span><span style="font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit;box-sizing:border-box;color:rgb(0,0,136)"><span style="box-sizing:border-box"><span style="box-sizing:border-box">for</span></span></span><span style="color:black;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit">(</span><span style="font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit;box-sizing:border-box;color:rgb(0,0,136)"><span style="box-sizing:border-box"><span style="box-sizing:border-box">int</span></span></span><span style="color:black;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit"> i=</span><span style="font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit;box-sizing:border-box;color:rgb(0,102,102)"><span style="box-sizing:border-box"><span style="box-sizing:border-box">0</span></span></span><span style="color:black;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit">;i<</span><span style="font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit;box-sizing:border-box;color:rgb(0,102,102)"><span style="box-sizing:border-box"><span style="box-sizing:border-box">10</span></span></span><span style="color:black;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit">;i++){</span></div><div><span style="color:black;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit">      myList.append(</span><span style="font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit;box-sizing:border-box;color:rgb(0,0,136)"><span style="box-sizing:border-box"><span style="box-sizing:border-box">static_cast</span></span></span><span style="color:black;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit"><</span><span style="font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit;box-sizing:border-box;color:rgb(0,0,136)"><span style="box-sizing:border-box"><span style="box-sizing:border-box">double</span></span></span><span style="color:black;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit">>(i));</span></div><div><span style="color:black;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit">     }</span></div><div><span style="color:rgb(136,0,0);font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit">// QVariant myList("0,1,2,3,4,5,6,7,8,9");  </span></div><div><span style="color:black;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit">m_listNode->writeAttributeRange(</span>QOpcUa<span style="color:black;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit">::NodeAttribute::Value, myList, </span><span style="font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit;box-sizing:border-box;color:rgb(0,136,0)"><span style="box-sizing:border-box"><span style="box-sizing:border-box">"0:9"</span></span></span><span style="color:black;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit">, </span>QOpcUa<span style="color:black;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit">::Types::Double);</span></div><div><br></div><div>In my slot connected to  QOpcUaNode::attributeWritten  signal i get  this status</div><div><span style="color:rgb(51,51,51);font-family:"Titillium Web";font-size:14px">"</span><span style="box-sizing:border-box;font-weight:700;color:rgb(51,51,51);font-family:"Titillium Web";font-size:14px">BadWriteNotSupported</span><span style="color:rgb(51,51,51);font-family:"Titillium Web";font-size:14px">"</span> </div><div>Can someone please tell me what could cause this issue ? </div><div><br></div><div>I use Qt 5.15 and mingw81_64  on windows10</div><div>my server is an opcua server embedded in Beckhoffs Twincat 3 running on the same pc</div><div><br></div><div>Thank you very much in advance </div><div>Best regards</div><div>Levon<br></div><div><br></div><div><br></div><div> <br></div><div><br></div><div></div></div>
<br><br><br>---------- Forwarded message ----------<br>From: "Jannis Völker" <<a href="mailto:jannis.voelker@basyskom.com" target="_blank">jannis.voelker@basyskom.com</a>><br>To: <a href="mailto:development@qt-project.org" target="_blank">development@qt-project.org</a><br>Cc: <br>Bcc: <br>Date: Tue, 28 Jul 2020 17:18:10 +0200<br>Subject: Re: [Development] Writing to upc ua server with QOpcUaNode::writeAttributeRange<br><div>Hello,<div><br></div><div>this mailing list is for topics around the development of Qt itself, <a href="https://lists.qt-project.org/listinfo/interest" target="_blank">https://lists.qt-project.org/listinfo/interest</a> is the list for questions regarding the usage of Qt.</div><div><br></div><div>According to Part 4, 5.10.4.2 of the OPC UA specification, the status code returned by the write operation is used if the server does not support writing the index range for the node.</div><div>Are there already values on the server for the range you are trying to write? Usually, servers fail to update a range if there is no previous value for one or more elements.</div><div><br></div><div>If you were just trying to write the entire array, use writeAttribute() with a QVariantList.</div><div><br>Best regards<div>Jannis<br><br><div><strong>
From:
</strong>
 
"AGAYEV, LEVON" <<a href="mailto:levon.agayev@g-mail.fr" target="_blank">levon.agayev@g-mail.fr</a>>
<br>
<strong>
To:
</strong>
 
<<a href="mailto:development@qt-project.org" target="_blank">development@qt-project.org</a>>
<br>
<strong>
Sent:
 
</strong>
28.07.2020 16:41
<br>
<strong>
Subject:
</strong>
 
[Development] Writing to upc ua server with     QOpcUaNode::writeAttributeRange
<br><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Hello,<div>I apologise for my bad english in advance..<br></div><div>After searching for a while and not finding any solution i have to bother you here.<br></div><div><br></div><div>I am trying to read and write to an array of doubles in my opcua server.</div><div>Reading works good but I have troubles with the use of  QOpcUaNode::writeAttributeRange methode.</div><div><br></div><div>this is what i try </div><div><span style="color:black;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit">QList<QVariant> myList;</span></div><div><span style="color:black;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit">   </span><span style="font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit;box-sizing:border-box;color:rgb(0,0,136)"><span style="box-sizing:border-box"><span style="box-sizing:border-box">for</span></span></span><span style="color:black;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit">(</span><span style="font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit;box-sizing:border-box;color:rgb(0,0,136)"><span style="box-sizing:border-box"><span style="box-sizing:border-box">int</span></span></span><span style="color:black;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit"> i=</span><span style="font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit;box-sizing:border-box;color:rgb(0,102,102)"><span style="box-sizing:border-box"><span style="box-sizing:border-box">0</span></span></span><span style="color:black;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit">;i<</span><span style="font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit;box-sizing:border-box;color:rgb(0,102,102)"><span style="box-sizing:border-box"><span style="box-sizing:border-box">10</span></span></span><span style="color:black;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit">;i++){</span></div><div><span style="color:black;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit">      myList.append(</span><span style="font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit;box-sizing:border-box;color:rgb(0,0,136)"><span style="box-sizing:border-box"><span style="box-sizing:border-box">static_cast</span></span></span><span style="color:black;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit"><</span><span style="font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit;box-sizing:border-box;color:rgb(0,0,136)"><span style="box-sizing:border-box"><span style="box-sizing:border-box">double</span></span></span><span style="color:black;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit">>(i));</span></div><div><span style="color:black;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit">     }</span></div><div><span style="color:rgb(136,0,0);font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit">// QVariant myList("0,1,2,3,4,5,6,7,8,9");  </span></div><div><span style="color:black;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit">m_listNode->writeAttributeRange(</span>QOpcUa<span style="color:black;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit">::NodeAttribute::Value, myList, </span><span style="font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit;box-sizing:border-box;color:rgb(0,136,0)"><span style="box-sizing:border-box"><span style="box-sizing:border-box">"0:9"</span></span></span><span style="color:black;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit">, </span>QOpcUa<span style="color:black;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:inherit">::Types::Double);</span></div><div><br></div><div>In my slot connected to  QOpcUaNode::attributeWritten  signal i get  this status</div><div><span style="color:rgb(51,51,51);font-family:"Titillium Web";font-size:14px">"</span><span style="box-sizing:border-box;font-weight:700;color:rgb(51,51,51);font-family:"Titillium Web";font-size:14px">BadWriteNotSupported</span><span style="color:rgb(51,51,51);font-family:"Titillium Web";font-size:14px">"</span> </div><div>Can someone please tell me what could cause this issue ? </div><div><br></div><div>I use Qt 5.15 and mingw81_64  on windows10</div><div>my server is an opcua server embedded in Beckhoffs Twincat 3 running on the same pc</div><div><br></div><div>Thank you very much in advance </div><div>Best regards</div><div>Levon<br></div><div><br></div><div><br></div><div> <br></div><div><br></div><div></div></div>
<br><br>_______________________________________________<br>Development mailing list<br><a href="mailto:Development@qt-project.org" target="_blank">Development@qt-project.org</a><br><a href="https://lists.qt-project.org/listinfo/development" target="_blank">https://lists.qt-project.org/listinfo/development</a><br></blockquote></div></div></div></div><br><br><br>---------- Forwarded message ----------<br>From: "Иван Комиссаров" <<a href="mailto:abbapoh@gmail.com" target="_blank">abbapoh@gmail.com</a>><br>To: "Tor Arne Vestbø" <<a href="mailto:Tor.arne.Vestbo@qt.io" target="_blank">Tor.arne.Vestbo@qt.io</a>><br>Cc: "<a href="mailto:development@lists.qt-project.org" target="_blank">development@lists.qt-project.org</a>" <<a href="mailto:development@lists.qt-project.org" target="_blank">development@lists.qt-project.org</a>><br>Bcc: <br>Date: Tue, 28 Jul 2020 17:22:54 +0200<br>Subject: Re: [Development] Qt5.14 Prl files are missing for Mac framework build?<br>Also, this looks weird (Linux, libQt6Gui.prl):<br>
<br>
QMAKE_PRL_LIBS = $$[QT_INSTALL_LIBS/get]/libQt6Core.so /usr/lib64/libGLX.so /usr/lib64/libOpenGL.so<br>
<br>
Where this /get suffix come from? I see it in every .prl file, but it was not present there. For instance, libQt5Gui.prl<br>
<br>
QMAKE_PRL_LIBS = -L/home/qt/openssl-1.1.1d/lib $$[QT_INSTALL_LIBS]/libQt5Core.so -lpthread<br>
<br>
Also, there’s no /usr/lib64/libGLX.so on Debian, there’s /usr/lib/x86_64-linux-gnu/libGLX.so.0<br>
<br>
Are those all known issues? Should I open a bugreport?<br>
<br>
Ivan<br>
<br>
<br>
> 28 июля 2020 г., в 00:38, Tor Arne Vestbø <<a href="mailto:Tor.arne.Vestbo@qt.io" target="_blank">Tor.arne.Vestbo@qt.io</a>> написал(а):<br>
> <br>
> <br>
> <br>
>> On 27 Jul 2020, at 23:55, Иван Комиссаров <<a href="mailto:abbapoh@gmail.com" target="_blank">abbapoh@gmail.com</a>> wrote:<br>
>> <br>
>> Hello again!<br>
>> <br>
>> What about qt6? In the snapshot files are back in framework root… Is that a regression?<br>
> <br>
> Yeah, that’s a regression when transitioning to CMake. Thanks for the heads up!<br>
> <br>
> Tor Arne <br>
<br>
<br>
<br><br><br>---------- Forwarded message ----------<br>From: Alexandru Croitor <<a href="mailto:alexandru.croitor@qt.io" target="_blank">alexandru.croitor@qt.io</a>><br>To: "Иван Комиссаров" <<a href="mailto:abbapoh@gmail.com" target="_blank">abbapoh@gmail.com</a>><br>Cc: "<a href="mailto:development@lists.qt-project.org" target="_blank">development@lists.qt-project.org</a>" <<a href="mailto:development@lists.qt-project.org" target="_blank">development@lists.qt-project.org</a>><br>Bcc: <br>Date: Wed, 29 Jul 2020 07:54:45 +0000<br>Subject: Re: [Development] Qt5.14 Prl files are missing for Mac framework build?<br>Hi<br>
<br>
> On 28. Jul 2020, at 17:22, Иван Комиссаров <<a href="mailto:abbapoh@gmail.com" target="_blank">abbapoh@gmail.com</a>> wrote:<br>
> <br>
> Also, this looks weird (Linux, libQt6Gui.prl):<br>
> <br>
> QMAKE_PRL_LIBS = $$[QT_INSTALL_LIBS/get]/libQt6Core.so /usr/lib64/libGLX.so /usr/lib64/libOpenGL.so<br>
<br>
Are these from the 6.0 snapshot files, or are you building Qt yourself?<br>
<br>
> <br>
> Where this /get suffix come from? I see it in every .prl file, but it was not present there. For instance, libQt5Gui.prl<br>
> <br>
> QMAKE_PRL_LIBS = -L/home/qt/openssl-1.1.1d/lib $$[QT_INSTALL_LIBS]/libQt5Core.so -lpthread<br>
> <br>
> Also, there’s no /usr/lib64/libGLX.so on Debian, there’s /usr/lib/x86_64-linux-gnu/libGLX.so.0<br>
> <br>
> Are those all known issues? Should I open a bugreport?<br>
<br>
I suggest to open a bug report for them. <br>
<br>
Thanks.<br>
_______________________________________________<br>
Development mailing list<br>
<a href="mailto:Development@qt-project.org" target="_blank">Development@qt-project.org</a><br>
<a href="https://lists.qt-project.org/listinfo/development" rel="noreferrer" target="_blank">https://lists.qt-project.org/listinfo/development</a><br>
</blockquote></div>