Skip to content
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

Itom Plugins Build Issue QT6 - AndorSDK3 #26

Open
photoniker opened this issue May 26, 2023 · 0 comments
Open

Itom Plugins Build Issue QT6 - AndorSDK3 #26

photoniker opened this issue May 26, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@photoniker
Copy link
Contributor

photoniker commented May 26, 2023

Currently the Itom Plugin AndorSDK3 does not build within Qt6 Environment on Windows.
Seems to be related to Itom Build Issue 25.

[Issue created by Bernd Bertschinger: 2023-02-25]
[Last updated on bitbucket: 2023-03-07]

[Comment created by M. Gronle: 2023-03-07]
I committed some possible fixes to the master. Please check it again. Thank you again.

[Comment created by Bernd Bertschinger: 2023-03-07]
Severity Code Description Project File Line Suppression State
Error C2664 'ito::RetVal ito::ParamBase::setVal<char*>(_Tp)': cannot convert argument 1 from 'const char [15]' to '_Tp' AndorSDK3 C:\tools\jenkins-agent\workspace\itomproject\plugins\AndorSDK3\AndorSDK3.cpp 1561
Error C2084 function 'size_t qHash(ushort,size_t) noexcept' already has a body (compiling source file C:\tools\jenkins-agent\workspace\itomproject\plugins\AndorSDK3\DockWidgetAndorSDK3.cpp) AndorSDK3 C:\tools\jenkins-agent\workspace\itom_vs2022_x64_Q6.4.1\3rdParty\Qt6.4\6.4.1\msvc2019_64\include\QtCore\qhashfunctions.h 126
Error C2084 function 'size_t qHash(ushort,size_t) noexcept' already has a body (compiling source file C:\tools\jenkins-agent\workspace\itomproject\plugins\AndorSDK3\DialogAndorSDK3.cpp) AndorSDK3 C:\tools\jenkins-agent\workspace\itom_vs2022_x64_Q6.4.1\3rdParty\Qt6.4\6.4.1\msvc2019_64\include\QtCore\qhashfunctions.h 126
Error C2084 function 'size_t qHash(ushort,size_t) noexcept' already has a body (compiling source file C:\tools\jenkins-agent\workspace\itomproject\plugins\AndorSDK3\AndorSDK3Interface.cpp) AndorSDK3 C:\tools\jenkins-agent\workspace\itom_vs2022_x64_Q6.4.1\3rdParty\Qt6.4\6.4.1\msvc2019_64\include\QtCore\qhashfunctions.h 126
Error C2084 function 'size_t qHash(ushort,size_t) noexcept' already has a body (compiling source file C:\tools\jenkins-agent\workspace\itomproject\plugins\AndorSDK3\AndorSDK3.cpp) AndorSDK3 C:\tools\jenkins-agent\workspace\itom_vs2022_x64_Q6.4.1\3rdParty\Qt6.4\6.4.1\msvc2019_64\include\QtCore\qhashfunctions.h 126
Error C2084 function 'size_t qHash(ushort,size_t) noexcept' already has a body (compiling source file C:\tools\jenkins-agent\workspace\itomproject\build\plugins\AndorSDK3\AndorSDK3_autogen\mocs_compilation_Debug.cpp) AndorSDK3 C:\tools\jenkins-agent\workspace\itom_vs2022_x64_Q6.4.1\3rdParty\Qt6.4\6.4.1\msvc2019_64\include\QtCore\qhashfunctions.h 126
Error C3615 constexpr function 'qHash' cannot result in a constant expression (compiling source file C:\tools\jenkins-agent\workspace\itomproject\plugins\AndorSDK3\DockWidgetAndorSDK3.cpp) AndorSDK3 C:\tools\jenkins-agent\workspace\itom_vs2022_x64_Q6.4.1\3rdParty\Qt6.4\6.4.1\msvc2019_64\include\QtCore\qhashfunctions.h 126
Error C3615 constexpr function 'qHash' cannot result in a constant expression (compiling source file C:\tools\jenkins-agent\workspace\itomproject\plugins\AndorSDK3\DialogAndorSDK3.cpp) AndorSDK3 C:\tools\jenkins-agent\workspace\itom_vs2022_x64_Q6.4.1\3rdParty\Qt6.4\6.4.1\msvc2019_64\include\QtCore\qhashfunctions.h 126
Error C3615 constexpr function 'qHash' cannot result in a constant expression (compiling source file C:\tools\jenkins-agent\workspace\itomproject\plugins\AndorSDK3\AndorSDK3Interface.cpp) AndorSDK3 C:\tools\jenkins-agent\workspace\itom_vs2022_x64_Q6.4.1\3rdParty\Qt6.4\6.4.1\msvc2019_64\include\QtCore\qhashfunctions.h 126
Error C3615 constexpr function 'qHash' cannot result in a constant expression (compiling source file C:\tools\jenkins-agent\workspace\itomproject\plugins\AndorSDK3\AndorSDK3.cpp) AndorSDK3 C:\tools\jenkins-agent\workspace\itom_vs2022_x64_Q6.4.1\3rdParty\Qt6.4\6.4.1\msvc2019_64\include\QtCore\qhashfunctions.h 126
Error C3615 constexpr function 'qHash' cannot result in a constant expression (compiling source file C:\tools\jenkins-agent\workspace\itomproject\build\plugins\AndorSDK3\AndorSDK3_autogen\mocs_compilation_Debug.cpp) AndorSDK3 C:\tools\jenkins-agent\workspace\itom_vs2022_x64_Q6.4.1\3rdParty\Qt6.4\6.4.1\msvc2019_64\include\QtCore\qhashfunctions.h 126
Error C2572 'qHash': redefinition of default argument: parameter 1 (compiling source file C:\tools\jenkins-agent\workspace\itomproject\plugins\AndorSDK3\DockWidgetAndorSDK3.cpp) AndorSDK3 C:\tools\jenkins-agent\workspace\itom_vs2022_x64_Q6.4.1\3rdParty\Qt6.4\6.4.1\msvc2019_64\include\QtCore\qhashfunctions.h 126
Error C2572 'qHash': redefinition of default argument: parameter 1 (compiling source file C:\tools\jenkins-agent\workspace\itomproject\plugins\AndorSDK3\DialogAndorSDK3.cpp) AndorSDK3 C:\tools\jenkins-agent\workspace\itom_vs2022_x64_Q6.4.1\3rdParty\Qt6.4\6.4.1\msvc2019_64\include\QtCore\qhashfunctions.h 126
Error C2572 'qHash': redefinition of default argument: parameter 1 (compiling source file C:\tools\jenkins-agent\workspace\itomproject\plugins\AndorSDK3\AndorSDK3Interface.cpp) AndorSDK3 C:\tools\jenkins-agent\workspace\itom_vs2022_x64_Q6.4.1\3rdParty\Qt6.4\6.4.1\msvc2019_64\include\QtCore\qhashfunctions.h 126
Error C2572 'qHash': redefinition of default argument: parameter 1 (compiling source file C:\tools\jenkins-agent\workspace\itomproject\plugins\AndorSDK3\AndorSDK3.cpp) AndorSDK3 C:\tools\jenkins-agent\workspace\itom_vs2022_x64_Q6.4.1\3rdParty\Qt6.4\6.4.1\msvc2019_64\include\QtCore\qhashfunctions.h 126
Error C2572 'qHash': redefinition of default argument: parameter 1 (compiling source file C:\tools\jenkins-agent\workspace\itomproject\build\plugins\AndorSDK3\AndorSDK3_autogen\mocs_compilation_Debug.cpp) AndorSDK3 C:\tools\jenkins-agent\workspace\itom_vs2022_x64_Q6.4.1\3rdParty\Qt6.4\6.4.1\msvc2019_64\include\QtCore\qhashfunctions.h 126
Error C2535 'QChar::QChar(ushort) noexcept': member function already defined or declared (compiling source file C:\tools\jenkins-agent\workspace\itomproject\plugins\AndorSDK3\DockWidgetAndorSDK3.cpp) AndorSDK3 C:\tools\jenkins-agent\workspace\itom_vs2022_x64_Q6.4.1\3rdParty\Qt6.4\6.4.1\msvc2019_64\include\QtCore\qchar.h 85
Error C2535 'QChar::QChar(ushort) noexcept': member function already defined or declared (compiling source file C:\tools\jenkins-agent\workspace\itomproject\plugins\AndorSDK3\DialogAndorSDK3.cpp) AndorSDK3 C:\tools\jenkins-agent\workspace\itom_vs2022_x64_Q6.4.1\3rdParty\Qt6.4\6.4.1\msvc2019_64\include\QtCore\qchar.h 85
Error C2535 'QChar::QChar(ushort) noexcept': member function already defined or declared (compiling source file C:\tools\jenkins-agent\workspace\itomproject\plugins\AndorSDK3\AndorSDK3Interface.cpp) AndorSDK3 C:\tools\jenkins-agent\workspace\itom_vs2022_x64_Q6.4.1\3rdParty\Qt6.4\6.4.1\msvc2019_64\include\QtCore\qchar.h 85
Error C2535 'QChar::QChar(ushort) noexcept': member function already defined or declared (compiling source file C:\tools\jenkins-agent\workspace\itomproject\plugins\AndorSDK3\AndorSDK3.cpp) AndorSDK3 C:\tools\jenkins-agent\workspace\itom_vs2022_x64_Q6.4.1\3rdParty\Qt6.4\6.4.1\msvc2019_64\include\QtCore\qchar.h 85
Error C2535 'QChar::QChar(ushort) noexcept': member function already defined or declared (compiling source file C:\tools\jenkins-agent\workspace\itomproject\build\plugins\AndorSDK3\AndorSDK3_autogen\mocs_compilation_Debug.cpp) AndorSDK3 C:\tools\jenkins-agent\workspace\itom_vs2022_x64_Q6.4.1\3rdParty\Qt6.4\6.4.1\msvc2019_64\include\QtCore\qchar.h 85
Error C2664 'ito::RetVal ito::ParamBase::setVal<char*>(_Tp)': cannot convert argument 1 from 'const char [15]' to '_Tp' AndorSDK3 C:\tools\jenkins-agent\workspace\itomproject\plugins\AndorSDK3\AndorSDK3.cpp 1489
Error C2664 'ito::RetVal ito::ParamBase::setVal<char*>(_Tp)': cannot convert argument 1 from 'const char [15]' to '_Tp' AndorSDK3 C:\tools\jenkins-agent\workspace\itomproject\plugins\AndorSDK3\AndorSDK3.cpp 1525

@photoniker photoniker added the bug Something isn't working label May 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants