- attached Capture.PNG
Itom Plugins Build Issue QT6 - AndorSDK3
Issue #26
new
Currently the Itom Plugin AndorSDK3 does not build within Qt6 Environment on Windows.
Seems to be related to Itom Build Issue 25.
Comments (2)
-
reporter -
I committed some possible fixes to the master. Please check it again. Thank you again.
- Log in to comment
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