Project

General

Profile

Actions

Bug #2073

open

Qt: Bitwise operation between enum types deprecated in g++-16

Added by Marko Lindqvist 12 days ago. Updated 12 days ago.

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

0%

Estimated time:

Description

S3_3 compilation with g++-16:

../../../../src/client/gui-qt/fc_client.cpp: In member function 'void fc_client::fc_main(QApplication*)':
../../../../src/client/gui-qt/fc_client.cpp:265:66: warning: bitwise operation between different enumeration types 'Qt::Modifier' and 'Qt::Key' is deprecated [-Wdeprecated-enum-enum-conversion]
265 | QShortcut *quit_shortcut = new QShortcut(QKeySequence(Qt::CTRL | Qt::Key_Q), this); | ~~~~~~~^~~~~~~~~~~


Files

Actions

Also available in: Atom PDF