Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.0.1
Description
Description
Install Qt6.0.1, Cmake, Ninja and Conan with online installer.
Run build command:
conan install qtopcua/6.0.1@qt/snapshot --build=missing --profile=/Users/qt/RTA/qt5/Tools/Conan/profiles/qt-6.0.1-macx-clang -s build_type=Release -g cmake_paths -g cmake -g deploy
Build fails:
C:\Users\jaheikki3\.conan\data\qtopcua\6.0.1\qt\snapshot\build\d11c65c2b3c01ca5095b6d3429486d7bbf3d3c18\src\plugins\opcua\open62541\qopen62541valueconverter.h(50): warning C4996: 'QVariant::Type': Use QMetaType::Type instead. [123/162] C:\PROGRA~2\MICROS~3\2019\PROFES~1\VC\Tools\MSVC\1428~1.293\bin\Hostx64\x64\cl.exe /TP -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_OPCUA_LIB -DQT_PLUGIN -DUNICODE -DWIN32 -DWIN64 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -Isrc\plugins\opcua\open62541\QOpen62541Plugin_autogen\include -Isrc\plugins\opcua\open62541 -Iinclude -Isrc\plugins\opcua\open62541\..\..\..\3rdparty\open62541 -Iinclude\QtOpcUa -Isrc\opcua -Iinclude\QtOpcUa\6.0.1 -Iinclude\QtOpcUa\6.0.1\QtOpcUa -IC:\Qt_addon_tst\6.0.1\msvc2019_64\include\QtCore -IC:\Qt_addon_tst\6.0.1\msvc2019_64\include -IC:\Qt_addon_tst\6.0.1\msvc2019_64\mkspecs\win32-msvc -IC:\Qt_addon_tst\6.0.1\msvc2019_64\include\QtCore\6.0.1 -IC:\Qt_addon_tst\6.0.1\msvc2019_64\include\QtCore\6.0.1\QtCore -IC:\Qt_addon_tst\6.0.1\msvc2019_64\include\QtNetwork -IC:\Qt_addon_tst\6.0.1\msvc2019_64\include\QtNetwork\6.0.1 -IC:\Qt_addon_tst\6.0.1\msvc2019_64\include\QtNetwork\6.0.1\QtNetwork -IC:\Strawberry\c\include /DWIN32 /D_WINDOWS /GR /EHsc /DNDEBUG -O2 -MD /W3 /wd4530 /wd4577 -Zc:__cplusplus -permissive- -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:externConstexpr -Zc:wchar_t -std:c++17 /YuC:/Users/jaheikki3/.conan/data/qtopcua/6.0.1/qt/snapshot/build/d11c65c2b3c01ca5095b6d3429486d7bbf3d3c18/src/plugins/opcua/open62541/CMakeFiles/QOpen62541Plugin.dir/cmake_pch.hxx /FpC:/Users/jaheikki3/.conan/data/qtopcua/6.0.1/qt/snapshot/build/d11c65c2b3c01ca5095b6d3429486d7bbf3d3c18/src/plugins/opcua/open62541/CMakeFiles/QOpen62541Plugin.dir/./cmake_pch.cxx.pch /FIC:/Users/jaheikki3/.conan/data/qtopcua/6.0.1/qt/snapshot/build/d11c65c2b3c01ca5095b6d3429486d7bbf3d3c18/src/plugins/opcua/open62541/CMakeFiles/QOpen62541Plugin.dir/cmake_pch.hxx /showIncludes /Fosrc\plugins\opcua\open62541\CMakeFiles\QOpen62541Plugin.dir\qopen62541backend.cpp.obj /Fdplugins\opcua\Qt6QOpen62541Plugin.pdb /FS -c src\plugins\opcua\open62541\qopen62541backend.cpp FAILED: src/plugins/opcua/open62541/CMakeFiles/QOpen62541Plugin.dir/qopen62541backend.cpp.obj C:\PROGRA~2\MICROS~3\2019\PROFES~1\VC\Tools\MSVC\1428~1.293\bin\Hostx64\x64\cl.exe /TP -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_OPCUA_LIB -DQT_PLUGIN -DUNICODE -DWIN32 -DWIN64 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -Isrc\plugins\opcua\open62541\QOpen62541Plugin_autogen\include -Isrc\plugins\opcua\open62541 -Iinclude -Isrc\plugins\opcua\open62541\..\..\..\3rdparty\open62541 -Iinclude\QtOpcUa -Isrc\opcua -Iinclude\QtOpcUa\6.0.1 -Iinclude\QtOpcUa\6.0.1\QtOpcUa -IC:\Qt_addon_tst\6.0.1\msvc2019_64\include\QtCore -IC:\Qt_addon_tst\6.0.1\msvc2019_64\include -IC:\Qt_addon_tst\6.0.1\msvc2019_64\mkspecs\win32-msvc -IC:\Qt_addon_tst\6.0.1\msvc2019_64\include\QtCore\6.0.1 -IC:\Qt_addon_tst\6.0.1\msvc2019_64\include\QtCore\6.0.1\QtCore -IC:\Qt_addon_tst\6.0.1\msvc2019_64\include\QtNetwork -IC:\Qt_addon_tst\6.0.1\msvc2019_64\include\QtNetwork\6.0.1 -IC:\Qt_addon_tst\6.0.1\msvc2019_64\include\QtNetwork\6.0.1\QtNetwork -IC:\Strawberry\c\include /DWIN32 /D_WINDOWS /GR /EHsc /DNDEBUG -O2 -MD /W3 /wd4530 /wd4577 -Zc:__cplusplus -permissive- -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:externConstexpr -Zc:wchar_t -std:c++17 /YuC:/Users/jaheikki3/.conan/data/qtopcua/6.0.1/qt/snapshot/build/d11c65c2b3c01ca5095b6d3429486d7bbf3d3c18/src/plugins/opcua/open62541/CMakeFiles/QOpen62541Plugin.dir/cmake_pch.hxx /FpC:/Users/jaheikki3/.conan/data/qtopcua/6.0.1/qt/snapshot/build/d11c65c2b3c01ca5095b6d3429486d7bbf3d3c18/src/plugins/opcua/open62541/CMakeFiles/QOpen62541Plugin.dir/./cmake_pch.cxx.pch /FIC:/Users/jaheikki3/.conan/data/qtopcua/6.0.1/qt/snapshot/build/d11c65c2b3c01ca5095b6d3429486d7bbf3d3c18/src/plugins/opcua/open62541/CMakeFiles/QOpen62541Plugin.dir/cmake_pch.hxx /showIncludes /Fosrc\plugins\opcua\open62541\CMakeFiles\QOpen62541Plugin.dir\qopen62541backend.cpp.obj /Fdplugins\opcua\Qt6QOpen62541Plugin.pdb /FS -c src\plugins\opcua\open62541\qopen62541backend.cpp Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29336 for x64 Copyright (C) Microsoft Corporation. All rights reserved. C:\Users\jaheikki3\.conan\data\qtopcua\6.0.1\qt\snapshot\build\d11c65c2b3c01ca5095b6d3429486d7bbf3d3c18\src\plugins\opcua\open62541\qopen62541valueconverter.h(50): warning C4996: 'QVariant::Type': Use QMetaType::Type instead. src\plugins\opcua\open62541\qopen62541backend.cpp(738): warning C4267: 'argument': conversion from 'size_t' to 'quint32', possible loss of data src\plugins\opcua\open62541\qopen62541backend.cpp(1060): warning C4003: not enough arguments for function-like macro invocation 'max' src\plugins\opcua\open62541\qopen62541backend.cpp(1060): error C2589: '(': illegal token on right side of '::' src\plugins\opcua\open62541\qopen62541backend.cpp(1060): error C2062: type 'unknown-type' unexpected src\plugins\opcua\open62541\qopen62541backend.cpp(1060): error C2059: syntax error: ')' src\plugins\opcua\open62541\qopen62541backend.cpp(1064): error C2589: '(': illegal token on right side of '::' src\plugins\opcua\open62541\qopen62541backend.cpp(1064): error C2144: syntax error: 'unknown-type' should be preceded by ')' src\plugins\opcua\open62541\qopen62541backend.cpp(1064): error C2144: syntax error: 'unknown-type' should be preceded by ';' src\plugins\opcua\open62541\qopen62541backend.cpp(1064): error C2143: syntax error: missing ')' before '<' src\plugins\opcua\open62541\qopen62541backend.cpp(1064): error C2143: syntax error: missing ';' before '<' src\plugins\opcua\open62541\qopen62541backend.cpp(1064): error C2059: syntax error: ')' [124/162] C:\PROGRA~2\MICROS~3\2019\PROFES~1\VC\Tools\MSVC\1428~1.293\bin\Hostx64\x64\cl.exe /TP -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_OPCUA_LIB -DQT_PLUGIN -DUNICODE -DWIN32 -DWIN64 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -Isrc\plugins\opcua\open62541\QOpen62541Plugin_autogen\include -Isrc\plugins\opcua\open62541 -Iinclude -Isrc\plugins\opcua\open62541\..\..\..\3rdparty\open62541 -Iinclude\QtOpcUa -Isrc\opcua -Iinclude\QtOpcUa\6.0.1 -Iinclude\QtOpcUa\6.0.1\QtOpcUa -IC:\Qt_addon_tst\6.0.1\msvc2019_64\include\QtCore -IC:\Qt_addon_tst\6.0.1\msvc2019_64\include -IC:\Qt_addon_tst\6.0.1\msvc2019_64\mkspecs\win32-msvc -IC:\Qt_addon_tst\6.0.1\msvc2019_64\include\QtCore\6.0.1 -IC:\Qt_addon_tst\6.0.1\msvc2019_64\include\QtCore\6.0.1\QtCore -IC:\Qt_addon_tst\6.0.1\msvc2019_64\include\QtNetwork -IC:\Qt_addon_tst\6.0.1\msvc2019_64\include\QtNetwork\6.0.1 -IC:\Qt_addon_tst\6.0.1\msvc2019_64\include\QtNetwork\6.0.1\QtNetwork -IC:\Strawberry\c\include /DWIN32 /D_WINDOWS /GR /EHsc /DNDEBUG -O2 -MD /W3 /wd4530 /wd4577 -Zc:__cplusplus -permissive- -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:externConstexpr -Zc:wchar_t -std:c++17 /YuC:/Users/jaheikki3/.conan/data/qtopcua/6.0.1/qt/snapshot/build/d11c65c2b3c01ca5095b6d3429486d7bbf3d3c18/src/plugins/opcua/open62541/CMakeFiles/QOpen62541Plugin.dir/cmake_pch.hxx /FpC:/Users/jaheikki3/.conan/data/qtopcua/6.0.1/qt/snapshot/build/d11c65c2b3c01ca5095b6d3429486d7bbf3d3c18/src/plugins/opcua/open62541/CMakeFiles/QOpen62541Plugin.dir/./cmake_pch.cxx.pch /FIC:/Users/jaheikki3/.conan/data/qtopcua/6.0.1/qt/snapshot/build/d11c65c2b3c01ca5095b6d3429486d7bbf3d3c18/src/plugins/opcua/open62541/CMakeFiles/QOpen62541Plugin.dir/cmake_pch.hxx /showIncludes /Fosrc\plugins\opcua\open62541\CMakeFiles\QOpen62541Plugin.dir\QOpen62541Plugin_autogen\mocs_compilation.cpp.obj /Fdplugins\opcua\Qt6QOpen62541Plugin.pdb /FS -c src\plugins\opcua\open62541\QOpen62541Plugin_autogen\mocs_compilation.cpp Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29336 for x64 Copyright (C) Microsoft Corporation. All rights reserved.