Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
5.15.0
-
None
-
Compiling from qtbase-everywhere-src-5.15.0
configure -opensource -confirm-license -platform win32-msvc2017 -shared -debug-and-release -nomake examples -nomake tests -c++std c++2a -mp -opengl desktop
MSVC 2019 16.6.1
Description
Q_ARRAY_LITERAL_CHECK_LITERAL_TYPE defined in qarraydata.h makes used of std::is_literal_type which is not available in c+20 and above (it was deprecated in C+17).
This results in a few instances of the following errrors:
C:\Sista\extbuild\qtbase-everywhere-src-5.15.0\src\gui\painting\webgradients.cpp(47): error C2039: 'is_literal_type': is not a member of 'std' (compiling source file painting\qbrush.cpp) c:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\include\variant(36): note: see declaration of 'std' (compiling source file painting\qbrush.cpp) C:\Sista\extbuild\qtbase-everywhere-src-5.15.0\src\gui\painting\webgradients.cpp(47): error C2275: 'QGradientStop': illegal use of this type as an expression (compiling source file painting\qbrush.cpp) C:\Sista\extbuild\qtbase-everywhere-src-5.15.0\include\QtGui\../../src/gui/painting/qbrush.h(175): note: see declaration of 'QGradientStop' (compiling source file painting\qbrush.cpp) C:\Sista\extbuild\qtbase-everywhere-src-5.15.0\src\gui\painting\webgradients.cpp(47): error C2039: 'value': is not a member of '`global namespace'' (compiling source file painting\qbrush.cpp) C:\Sista\extbuild\qtbase-everywhere-src-5.15.0\src\gui\painting\webgradients.cpp(47): error C2065: 'value': undeclared identifier (compiling source file painting\qbrush.cpp)
C
Attachments
Issue Links
- duplicates
-
QTBUG-84069 Preset QGradients have invalid stops QVector, many presets have stopped working
-
- Closed
-