Рет қаралды 898
Error active E0325 inline specifier allowed on function declarations only
Error active E2783 expected a comma (the one-argument version of static_assert is not enabled in this mode)
Error C7525 inline variables require at least '/std:c++17' compiling source file QtWidgetsApplication1.cpp
Error C2429 language feature 'terse static assert' requires compiler flag '/std:c++17' compiling source file main.cpp
Error C2440 'function-style-cast': cannot convert from 'const char *' to 'QByteArrayView' compiling source file main.cpp
fatal error C1003: error count exceeds 100; stopping compilation
error C2664: 'int QtPrivate::compareMemory QByteArrayView,QByteArrayView': cannot convert argument 1 from 'const QByteArray' to 'QByteArrayView'
message : a no message : a non-constant sub-expression was encountered compiling source file QtWidgetsApplication1.cpp
1C:\Qt\6.0.0\msvc2019_64\include\QtCore\qbytearray.h345,5: error C2440: 'function-style-cast': cannot convert from 'const QByteArray' to 'QByteArrayView' compiling source file main.cpp
1C:\Qt\6.0.0\msvc2019_64\include\QtCore\qbytearray.h 345,: message : No constructor could take the source type, or constructor overload resolution was ambiguous (compiling source file main.cpp)
1C:\Qt\6.0.0\msvc2019_64\include\QtCore\qbytearray.h(304,5): error C2440: 'function-style-cast': cannot convert from 'const QByteArray' to 'QByteArrayView' (compiling source file QtWidgetsApplication1.cpp)
1C:\Qt\6.0.0\msvc2019_64\include\QtCore\qbytearray.h(304,5): message : No constructor could take the source type, or constructor overload resolution was ambiguous (compiling source file QtWidgetsApplication1.cpp)
1C:\Qt\6.0.0\msvc2019_64\include\QtCore\qbytearray.h347,5: error C2664: 'int QtPrivate::compareMemorQByteArrayView,QByteArrayView': cannot convert argument 1 from 'const QByteArray' to 'QByteArrayView' compiling source file main.cpp
1C:\Qt\6.0.0\msvc2019_64\include\QtCore\qbytearray.h347,44: message : No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called compiling source file main.cpp