-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EnumValueType support #4
Open
CarlottaPat
wants to merge
37
commits into
dev
Choose a base branch
from
6.5.0
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Use qt_standard_project_setup() * Use Qt6:: prefix, instead of Qt:: * Use private linkage wherever possible Change-Id: I8af4fdeed78f7cba26308f1c7932e6f9fc256ade Reviewed-by: Alexandru Croitor <[email protected]> (cherry picked from commit c323ecb) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Change-Id: I2d4d9b857e0a288b31e89e952465d8b98889deb6 Reviewed-by: Qt Submodule Update Bot <[email protected]>
All qt modules share a common documentation namespace. So avoid overly generic page names - security is not only relevant in the OPC UA context. Change-Id: I188a1d66ee0b9e56ea7d7df2d598c79d1b64104f Reviewed-by: Frank Meerkoetter <[email protected]> (cherry picked from commit 471f739) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Change-Id: I0227b003f39e3e2ba2da8d8db2d5312eac3675e3 Reviewed-by: Qt Submodule Update Bot <[email protected]>
- for Qt major greater than 5, look up the sources in 'Src' folder in the Qt installation - the orginal relative path for MODULE_SOURCES given was also wrong. This is now fixed. Fixes: QTBUG-109096 Change-Id: Iabcf8baaf1a440b863aaf9ead3cfbb63c98d8b02 Reviewed-by: Alexandru Croitor <[email protected]> (cherry picked from commit 9b122a2) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Change-Id: Iaaa36e090e791ad25e7eb7e5d9fa6bef338241fe Reviewed-by: Qt Submodule Update Bot <[email protected]>
The custom Qt namespace should be reserved for Qt library types, not example types. THerefore remove QT_BEGIN_NAMESPACE, QT_END_NAMESPACE macros. To keep compatibility with a namespaced Qt, we now include the respective headers, instead of pre-declaring Qt types. Also sort include lines while at it. Change-Id: I8c4c6f5f2b5768eae297923e0081820ade8e50f4 Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Frank Meerkoetter <[email protected]> (cherry picked from commit 9130e53) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Change-Id: I76183946f2d3e007fa695d5f50a1ccdff0a1a2bf Reviewed-by: Qt Submodule Update Bot <[email protected]>
Change-Id: Ied7ce2c591bd66c3647ba5ce2a1f5242447e0555 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Change-Id: I3433e2b64f522b94a940e815b69a506fb812278c Reviewed-by: Qt Submodule Update Bot <[email protected]>
Change-Id: Icc2a49a97661dadc192454549a0f88bf218046a1 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Change-Id: I527bb5cd6ad4255873f62a10954d6d853f85d4d0 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Change-Id: Ifc44891eb8a8dd58071f9e238522b67b5e87354f Reviewed-by: Qt Submodule Update Bot <[email protected]>
Option has not effect anymore. Change-Id: I5b714f75e954aa8c6ab997b60aa356fcab7e9eb4 Reviewed-by: Kai Köhne <[email protected]> (cherry picked from commit 9d7b496) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Change-Id: I469d17aec0613ad7059e634b31e30fb20c15dcf7 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Change-Id: I596acc884a0f9258e55fbb1446c46dea527e6772 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Change-Id: I9240450a41ad384be8eab874938c0fbecc936383 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Change-Id: I3c074cf64e312ab1c0cd3ae4c1b884b11d455fd3 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Change-Id: I2f4098bc91fbdbbc3db79deded2f13e3163f7252 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Namespaces are always uncreatable. Fixes: QTBUG-110837 Change-Id: I9382acc5fefba1b17a1490aa0f53437f0a5c8608 Reviewed-by: Semih Yavuz <[email protected]> Reviewed-by: Frank Meerkoetter <[email protected]> (cherry picked from commit 54cec1b) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Add missing header guards and exclude problematic source file. Task-number: QTBUG-109394 Change-Id: I170824448de8b030b444ce9a5d9b15eeca145a22 Reviewed-by: Amir Masoud Abdol <[email protected]> Reviewed-by: Frank Meerkoetter <[email protected]> (cherry picked from commit 3adfac4) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Change-Id: I17b48757cf0de6b123c96db4dfc7d227c6384071 Reviewed-by: Amir Masoud Abdol <[email protected]> Reviewed-by: Frank Meerkoetter <[email protected]> (cherry picked from commit ebe1296) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Change-Id: Ide7badf35bc3f9009e11b92e5fecbb3d67c78e6d Reviewed-by: Qt Submodule Update Bot <[email protected]>
We pulled in open62541 1.3.4 for the 6.5 release Change-Id: Icad578676cbb36b8955730ec54dd5edfc5feccab Reviewed-by: Frank Meerkoetter <[email protected]>
Change-Id: I51b2136694f4e6eae46246bf13f153ebf6169ee7 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Change-Id: If7b4975f0a8f93602f7b46139f610e869d9bac9c Reviewed-by: Qt Submodule Update Bot <[email protected]>
The logic to locate files relative to the binary is fragile. It is currently broken for CMake on Windows, and not actually implemented in qmake. Furthermore, it requires the binary directory to be writable at runtime, because additional folders will be created there. Instead, embed the files via qrc, and extract them at runtime into AppLocalDataLocation, which we know we can read/write to. Fixes: QTBUG-109097 Change-Id: Ia6994339f4eba94ee6ef0cd82eadcc72563b7d47 Reviewed-by: Ivan Solovev <[email protected]> (cherry picked from commit ddfe363) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Change-Id: I1dcffa30ee6f82b23aec6e69fc45822bed95629c Reviewed-by: Qt Submodule Update Bot <[email protected]>
Change-Id: I6138828d48d666cd561b5dd4a61e58074366df28 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Change-Id: Ic2d08987b91e75e0ff64de5d455dc353b3323f0b Reviewed-by: Qt Submodule Update Bot <[email protected]>
Change-Id: I712f6fd5f4f159741b8bf6554bd4d455b504e4ce Reviewed-by: Qt Submodule Update Bot <[email protected]>
Change-Id: Ib850601ac4a1a42845e6a0877e9bfad6e3438eec Reviewed-by: Qt Submodule Update Bot <[email protected]>
Change-Id: I49463a71a1b9b5f5f12947dbf4c89e811ed202f3 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Change-Id: Ic79082742f19a7c96849cde50206ac3ae9743158 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Change-Id: I441745de20b7f037d7ea0c6b829b0ec8da80b880 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Change-Id: I4c907c29b3a0d3e07cae44d88a2456328f73c9c6 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Change-Id: Ic0094844704e5ded4e6e55189be28e7f1b38ae92 Reviewed-by: Qt Submodule Update Bot <[email protected]>
Qt Submodule Update Bot seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I would like to suggest a possible addition to the QOpcUa code.
In fact, the current version seems to lack the management of user-defined enum data types on the OPC UA server.
In my local code version I have inserted my two new files qopcuaenumvaluetype.cpp and qopcuaenumvaluetype.h in the folder qtopcua\src\opcua\client.
In addition, I have also modified the following files:
I added my .h file include and the QOpcUaBinaryDataEncoding::decode method in qtopcua\src\opcua\client\qopcuabinarydataencoding.h
I added my .h file include in qtopcua\src\opcua\core\qopcuaprovider.cpp
#include <QtOpcUa/qopcuaenumvaluetype.h>
I had to modify the existing toQVariant method in qtopcua\src\plugins\opcua\open62541\qopen62541valueconverter.cpp (I added the case UA_TYPES_ENUMVALUETYPE statement):
I have added the scalarToQt<QOpcUaEnumValueType, UA_EnumValueType> method:
I have modified the scalarToQt<QVariant, UA_ExtensionObject> method:
Finally, in qtopcua\src\opcua\CMakeLists.txt also put my two added files:
After these code additions and changes I successfully rebuilt the QOpcUa project and could access my custom enum types from my client (with the open62541 backend).
Would it be possible to contribute to the QOpcUa project with the above modifications?