Project

General

Profile

Actions

Bug #2062

open

Qt: sprite.cpp: QChar previously incomplete in SFINAE context

Added by Marko Lindqvist about 23 hours ago. Updated about 5 hours ago.

Status:
In Review
Priority:
Normal
Category:
Qt-client
Target version:
Start date:
06/24/2026
Due date:
% Done:

0%

Estimated time:

Description

On Manjaro, with gcc-16 and Qt-6.11, S3_2 Qt-client compile fails on sprite.cpp:

In file included from /usr/include/qt6/QtCore/qstring.h:15,
from /usr/include/qt6/QtCore/qcoreapplication.h:9,
from /usr/include/qt6/QtGui/qimagereader.h:9,
from /usr/include/qt6/QtGui/QImageReader:1,
from ../../../../src/client/gui-qt/sprite.cpp:19:
/usr/include/qt6/QtCore/qchar.h:48:31: error: defining 'QChar', which previously failed to be complete in a SFINAE context [-Werror=sfinae-incomplete=]
48 | class QT6_ONLY(Q_CORE_EXPORT) QChar { | ^~~
In file included from /usr/include/c++/16.1.1/unordered_map:44,
from /usr/include/c++/16.1.1/functional:80,
from /usr/include/qt6/QtCore/qcomparehelpers.h:29,
from /usr/include/qt6/QtCore/qcompare.h:661,
from /usr/include/qt6/QtCore/qnamespace.h:14,
from /usr/include/qt6/QtCore/qbytearray.h:10,
from /usr/include/qt6/QtGui/qimagereader.h:8:
/usr/include/c++/16.1.1/bits/range_access.h:325:24: note: here. Use '-Wsfinae-incomplete=2' for a diagnostic at that point
325 | -> decltype(__cont.data()) | ~~~~~^~~~


Files


Related issues 1 (1 open0 closed)

Blocks Tasks #2047: Release 3.2.5NewMarko Lindqvist06/12/2026

Actions
Actions #1

Updated by Marko Lindqvist about 23 hours ago

Actions #2

Updated by Marko Lindqvist about 22 hours ago

  • Description updated (diff)
Actions

Also available in: Atom PDF