commaai / openpilot

openpilot is an operating system for robotics. Currently, it upgrades the driver assistance system on 275+ supported cars.
https://comma.ai/openpilot
MIT License
49.91k stars 9.1k forks source link

ubuntu 22.04 build error #29671

Closed crwusiz closed 1 year ago

crwusiz commented 1 year ago

Describe the bug

(root) root@op-virtual-machine:~/openpilot# qmake --version QMake version 3.1 Using Qt version 5.15.3 in /usr/lib/x86_64-linux-gnu


scons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... clang++ -o selfdrive/ui/qt/widgets/ssh_keys.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -D_REENTRANT -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QUICK_LIB -DQT_QUICKWIDGETS_LIB -DQT_QML_LIB -DQT_CORE_LIB -DQT_MESSAGELOGCONTEXT -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -DENABLE_MAPS -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -I/usr/include -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.12.8/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtConcurrent -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5/QtQuick -I/usr/include/x86_64-linux-gnu/qt5/QtQml -I/usr/include/x86_64-linux-gnu/qt5/QtQuickWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtLocation -I/usr/include/x86_64-linux-gnu/qt5/QtPositioning -I/usr/include/x86_64-linux-gnu/qt5/QtDBus -I/usr/include/x86_64-linux-gnu/qt5/QtXml -Iselfdrive/ui/qt selfdrive/ui/qt/widgets/ssh_keys.cc clang++ -o selfdrive/ui/qt/widgets/controls.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -D_REENTRANT -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QUICK_LIB -DQT_QUICKWIDGETS_LIB -DQT_QML_LIB -DQT_CORE_LIB -DQT_MESSAGELOGCONTEXT -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -DENABLE_MAPS -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -I/usr/include -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.12.8/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtConcurrent -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5/QtQuick -I/usr/include/x86_64-linux-gnu/qt5/QtQml -I/usr/include/x86_64-linux-gnu/qt5/QtQuickWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtLocation -I/usr/include/x86_64-linux-gnu/qt5/QtPositioning -I/usr/include/x86_64-linux-gnu/qt5/QtDBus -I/usr/include/x86_64-linux-gnu/qt5/QtXml -Iselfdrive/ui/qt selfdrive/ui/qt/widgets/controls.cc clang++ -o selfdrive/ui/qt/network/networking.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -D_REENTRANT -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QUICK_LIB -DQT_QUICKWIDGETS_LIB -DQT_QML_LIB -DQT_CORE_LIB -DQT_MESSAGELOGCONTEXT -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -DENABLE_MAPS -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -I/usr/include -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.12.8/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtConcurrent -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5/QtQuick -I/usr/include/x86_64-linux-gnu/qt5/QtQml -I/usr/include/x86_64-linux-gnu/qt5/QtQuickWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtLocation -I/usr/include/x86_64-linux-gnu/qt5/QtPositioning -I/usr/include/x86_64-linux-gnu/qt5/QtDBus -I/usr/include/x86_64-linux-gnu/qt5/QtXml -Iselfdrive/ui/qt selfdrive/ui/qt/network/networking.cc clang++ -o selfdrive/ui/qt/maps/map_settings.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -D_REENTRANT -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QUICK_LIB -DQT_QUICKWIDGETS_LIB -DQT_QML_LIB -DQT_CORE_LIB -DQT_MESSAGELOGCONTEXT -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -DENABLE_MAPS -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -I/usr/include -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.12.8/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtConcurrent -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5/QtQuick -I/usr/include/x86_64-linux-gnu/qt5/QtQml -I/usr/include/x86_64-linux-gnu/qt5/QtQuickWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtLocation -I/usr/include/x86_64-linux-gnu/qt5/QtPositioning -I/usr/include/x86_64-linux-gnu/qt5/QtDBus -I/usr/include/x86_64-linux-gnu/qt5/QtXml -Iselfdrive/ui/qt selfdrive/ui/qt/maps/map_settings.cc clang++ -o selfdrive/ui/qt/maps/map.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -D_REENTRANT -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QUICK_LIB -DQT_QUICKWIDGETS_LIB -DQT_QML_LIB -DQT_CORE_LIB -DQT_MESSAGELOGCONTEXT -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -DENABLE_MAPS -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -I/usr/include -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.12.8/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtConcurrent -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5/QtQuick -I/usr/include/x86_64-linux-gnu/qt5/QtQml -I/usr/include/x86_64-linux-gnu/qt5/QtQuickWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtLocation -I/usr/include/x86_64-linux-gnu/qt5/QtPositioning -I/usr/include/x86_64-linux-gnu/qt5/QtDBus -I/usr/include/x86_64-linux-gnu/qt5/QtXml -Iselfdrive/ui/qt selfdrive/ui/qt/maps/map.cc clang++ -o selfdrive/ui/qt/maps/map_panel.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -D_REENTRANT -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QUICK_LIB -DQT_QUICKWIDGETS_LIB -DQT_QML_LIB -DQT_CORE_LIB -DQT_MESSAGELOGCONTEXT -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -DENABLE_MAPS -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -I/usr/include -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.12.8/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtConcurrent -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5/QtQuick -I/usr/include/x86_64-linux-gnu/qt5/QtQml -I/usr/include/x86_64-linux-gnu/qt5/QtQuickWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtLocation -I/usr/include/x86_64-linux-gnu/qt5/QtPositioning -I/usr/include/x86_64-linux-gnu/qt5/QtDBus -I/usr/include/x86_64-linux-gnu/qt5/QtXml -Iselfdrive/ui/qt selfdrive/ui/qt/maps/map_panel.cc clang++ -o selfdrive/ui/qt/maps/map_eta.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -D_REENTRANT -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QUICK_LIB -DQT_QUICKWIDGETS_LIB -DQT_QML_LIB -DQT_CORE_LIB -DQT_MESSAGELOGCONTEXT -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -DENABLE_MAPS -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -I/usr/include -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.12.8/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtConcurrent -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5/QtQuick -I/usr/include/x86_64-linux-gnu/qt5/QtQml -I/usr/include/x86_64-linux-gnu/qt5/QtQuickWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtLocation -I/usr/include/x86_64-linux-gnu/qt5/QtPositioning -I/usr/include/x86_64-linux-gnu/qt5/QtDBus -I/usr/include/x86_64-linux-gnu/qt5/QtXml -Iselfdrive/ui/qt selfdrive/ui/qt/maps/map_eta.cc clang++ -o selfdrive/ui/qt/maps/map_instructions.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -D_REENTRANT -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QUICK_LIB -DQT_QUICKWIDGETS_LIB -DQT_QML_LIB -DQT_CORE_LIB -DQT_MESSAGELOGCONTEXT -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -DENABLE_MAPS -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -I/usr/include -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.12.8/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtConcurrent -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5/QtQuick -I/usr/include/x86_64-linux-gnu/qt5/QtQml -I/usr/include/x86_64-linux-gnu/qt5/QtQuickWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtLocation -I/usr/include/x86_64-linux-gnu/qt5/QtPositioning -I/usr/include/x86_64-linux-gnu/qt5/QtDBus -I/usr/include/x86_64-linux-gnu/qt5/QtXml -Iselfdrive/ui/qt selfdrive/ui/qt/maps/map_instructions.cc In file included from selfdrive/ui/qt/widgets/controls.cc:1: ./selfdrive/ui/qt/widgets/controls.h:242:61: error: 'buttonToggled' is deprecated: Use QButtonGroup::idToggled(int, bool) instead [-Werror,-Wdeprecated-declarations] QObject::connect(button_group, QOverload<int, bool>::of(&QButtonGroup::buttonToggled), [=](int id, bool checked) { ^ /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qbuttongroup.h:95:5: note: 'buttonToggled' has been explicitly marked deprecated here QT_DEPRECATED_VERSION_X_5_15("Use QButtonGroup::idToggled(int, bool) instead") ^ /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:374:45: note: expanded from macro 'QT_DEPRECATED_VERSION_X_5_15'

define QT_DEPRECATED_VERSION_X_5_15(text) QT_DEPRECATED_X(text)

                                        ^

/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:294:33: note: expanded from macro 'QT_DEPRECATED_X'

define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)

                            ^

/usr/include/x86_64-linux-gnu/qt5/QtCore/qcompilerdetection.h:675:55: note: expanded from macro 'Q_DECL_DEPRECATED_X'

define Q_DECL_DEPRECATED_X(text) attribute ((deprecated(text)))

                                                  ^

1 error generated. scons: *** [selfdrive/ui/qt/widgets/controls.o] Error 1 In file included from selfdrive/ui/qt/maps/map_settings.cc:1: In file included from ./selfdrive/ui/qt/maps/map_settings.h:16: ./selfdrive/ui/qt/widgets/controls.h:242:61: error: 'buttonToggled' is deprecated: Use QButtonGroup::idToggled(int, bool) instead [-Werror,-Wdeprecated-declarations] QObject::connect(button_group, QOverload<int, bool>::of(&QButtonGroup::buttonToggled), [=](int id, bool checked) { ^ /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qbuttongroup.h:95:5: note: 'buttonToggled' has been explicitly marked deprecated here QT_DEPRECATED_VERSION_X_5_15("Use QButtonGroup::idToggled(int, bool) instead") ^ /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:374:45: note: expanded from macro 'QT_DEPRECATED_VERSION_X_5_15'

define QT_DEPRECATED_VERSION_X_5_15(text) QT_DEPRECATED_X(text)

                                        ^

/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:294:33: note: expanded from macro 'QT_DEPRECATED_X'

define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)

                            ^

/usr/include/x86_64-linux-gnu/qt5/QtCore/qcompilerdetection.h:675:55: note: expanded from macro 'Q_DECL_DEPRECATED_X'

define Q_DECL_DEPRECATED_X(text) attribute ((deprecated(text)))

                                                  ^

In file included from selfdrive/ui/qt/widgets/ssh_keys.cc:1: In file included from ./selfdrive/ui/qt/widgets/ssh_keys.h:6: ./selfdrive/ui/qt/widgets/controls.h:242:61: error: 'buttonToggled' is deprecated: Use QButtonGroup::idToggled(int, bool) instead [-Werror,-Wdeprecated-declarations] QObject::connect(button_group, QOverload<int, bool>::of(&QButtonGroup::buttonToggled), [=](int id, bool checked) { ^ /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qbuttongroup.h:95:5: note: 'buttonToggled' has been explicitly marked deprecated here QT_DEPRECATED_VERSION_X_5_15("Use QButtonGroup::idToggled(int, bool) instead") ^ /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:374:45: note: expanded from macro 'QT_DEPRECATED_VERSION_X_5_15'

define QT_DEPRECATED_VERSION_X_5_15(text) QT_DEPRECATED_X(text)

                                        ^

/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:294:33: note: expanded from macro 'QT_DEPRECATED_X'

define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)

                            ^

/usr/include/x86_64-linux-gnu/qt5/QtCore/qcompilerdetection.h:675:55: note: expanded from macro 'Q_DECL_DEPRECATED_X'

define Q_DECL_DEPRECATED_X(text) attribute ((deprecated(text)))

                                                  ^

1 error generated. scons: *** [selfdrive/ui/qt/widgets/ssh_keys.o] Error 1 In file included from selfdrive/ui/qt/maps/map_panel.cc:7: In file included from ./selfdrive/ui/qt/maps/map_settings.h:16: ./selfdrive/ui/qt/widgets/controls.h:242:61: error: 'buttonToggled' is deprecated: Use QButtonGroup::idToggled(int, bool) instead [-Werror,-Wdeprecated-declarations] QObject::connect(button_group, QOverload<int, bool>::of(&QButtonGroup::buttonToggled), [=](int id, bool checked) { ^ /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qbuttongroup.h:95:5: note: 'buttonToggled' has been explicitly marked deprecated here QT_DEPRECATED_VERSION_X_5_15("Use QButtonGroup::idToggled(int, bool) instead") ^ /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:374:45: note: expanded from macro 'QT_DEPRECATED_VERSION_X_5_15'

define QT_DEPRECATED_VERSION_X_5_15(text) QT_DEPRECATED_X(text)

                                        ^

/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:294:33: note: expanded from macro 'QT_DEPRECATED_X'

define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)

                            ^

/usr/include/x86_64-linux-gnu/qt5/QtCore/qcompilerdetection.h:675:55: note: expanded from macro 'Q_DECL_DEPRECATED_X'

define Q_DECL_DEPRECATED_X(text) attribute ((deprecated(text)))

                                                  ^

In file included from selfdrive/ui/qt/network/networking.cc:1: In file included from ./selfdrive/ui/qt/network/networking.h:7: In file included from ./selfdrive/ui/qt/widgets/ssh_keys.h:6: ./selfdrive/ui/qt/widgets/controls.h:242:61: error: 'buttonToggled' is deprecated: Use QButtonGroup::idToggled(int, bool) instead [-Werror,-Wdeprecated-declarations] QObject::connect(button_group, QOverload<int, bool>::of(&QButtonGroup::buttonToggled), [=](int id, bool checked) { ^ /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qbuttongroup.h:95:5: note: 'buttonToggled' has been explicitly marked deprecated here QT_DEPRECATED_VERSION_X_5_15("Use QButtonGroup::idToggled(int, bool) instead") ^ /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:374:45: note: expanded from macro 'QT_DEPRECATED_VERSION_X_5_15'

define QT_DEPRECATED_VERSION_X_5_15(text) QT_DEPRECATED_X(text)

                                        ^

/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:294:33: note: expanded from macro 'QT_DEPRECATED_X'

define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)

                            ^

/usr/include/x86_64-linux-gnu/qt5/QtCore/qcompilerdetection.h:675:55: note: expanded from macro 'Q_DECL_DEPRECATED_X'

define Q_DECL_DEPRECATED_X(text) attribute ((deprecated(text)))

                                                  ^

1 error generated. scons: [selfdrive/ui/qt/maps/map_settings.o] Error 1 1 error generated. scons: [selfdrive/ui/qt/maps/map_panel.o] Error 1 selfdrive/ui/qt/maps/map_instructions.cc:41:26: error: 'Background' is deprecated: Use QPalette::Window instead [-Werror,-Wdeprecated-declarations] pal.setColor(QPalette::Background, QColor(0, 0, 0, 150)); ^ /usr/include/x86_64-linux-gnu/qt5/QtGui/qpalette.h:101:33: note: 'Background' has been explicitly marked deprecated here Background Q_DECL_ENUMERATOR_DEPRECATED_X("Use QPalette::Window instead") = Window ^ /usr/include/x86_64-linux-gnu/qt5/QtCore/qcompilerdetection.h:1161:45: note: expanded from macro 'Q_DECL_ENUMERATOR_DEPRECATED_X'

define Q_DECL_ENUMERATOR_DEPRECATED_X(x) Q_DECL_DEPRECATED_X(x)

                                        ^

/usr/include/x86_64-linux-gnu/qt5/QtCore/qcompilerdetection.h:675:55: note: expanded from macro 'Q_DECL_DEPRECATED_X'

define Q_DECL_DEPRECATED_X(text) attribute ((deprecated(text)))

                                                  ^

scons: building terminated because of errors. scons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... clang++ -o selfdrive/ui/qt/widgets/ssh_keys.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -D_REENTRANT -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QUICK_LIB -DQT_QUICKWIDGETS_LIB -DQT_QML_LIB -DQT_CORE_LIB -DQT_MESSAGELOGCONTEXT -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -DENABLE_MAPS -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -I/usr/include -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.12.8/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtConcurrent -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5/QtQuick -I/usr/include/x86_64-linux-gnu/qt5/QtQml -I/usr/include/x86_64-linux-gnu/qt5/QtQuickWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtLocation -I/usr/include/x86_64-linux-gnu/qt5/QtPositioning -I/usr/include/x86_64-linux-gnu/qt5/QtDBus -I/usr/include/x86_64-linux-gnu/qt5/QtXml -Iselfdrive/ui/qt selfdrive/ui/qt/widgets/ssh_keys.cc clang++ -o selfdrive/ui/qt/widgets/controls.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -D_REENTRANT -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QUICK_LIB -DQT_QUICKWIDGETS_LIB -DQT_QML_LIB -DQT_CORE_LIB -DQT_MESSAGELOGCONTEXT -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -DENABLE_MAPS -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -I/usr/include -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.12.8/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtConcurrent -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5/QtQuick -I/usr/include/x86_64-linux-gnu/qt5/QtQml -I/usr/include/x86_64-linux-gnu/qt5/QtQuickWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtLocation -I/usr/include/x86_64-linux-gnu/qt5/QtPositioning -I/usr/include/x86_64-linux-gnu/qt5/QtDBus -I/usr/include/x86_64-linux-gnu/qt5/QtXml -Iselfdrive/ui/qt selfdrive/ui/qt/widgets/controls.cc clang++ -o selfdrive/ui/qt/network/networking.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -D_REENTRANT -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QUICK_LIB -DQT_QUICKWIDGETS_LIB -DQT_QML_LIB -DQT_CORE_LIB -DQT_MESSAGELOGCONTEXT -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -DENABLE_MAPS -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -I/usr/include -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.12.8/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtConcurrent -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5/QtQuick -I/usr/include/x86_64-linux-gnu/qt5/QtQml -I/usr/include/x86_64-linux-gnu/qt5/QtQuickWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtLocation -I/usr/include/x86_64-linux-gnu/qt5/QtPositioning -I/usr/include/x86_64-linux-gnu/qt5/QtDBus -I/usr/include/x86_64-linux-gnu/qt5/QtXml -Iselfdrive/ui/qt selfdrive/ui/qt/network/networking.cc clang++ -o selfdrive/ui/qt/maps/map_settings.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -D_REENTRANT -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QUICK_LIB -DQT_QUICKWIDGETS_LIB -DQT_QML_LIB -DQT_CORE_LIB -DQT_MESSAGELOGCONTEXT -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -DENABLE_MAPS -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -I/usr/include -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.12.8/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtConcurrent -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5/QtQuick -I/usr/include/x86_64-linux-gnu/qt5/QtQml -I/usr/include/x86_64-linux-gnu/qt5/QtQuickWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtLocation -I/usr/include/x86_64-linux-gnu/qt5/QtPositioning -I/usr/include/x86_64-linux-gnu/qt5/QtDBus -I/usr/include/x86_64-linux-gnu/qt5/QtXml -Iselfdrive/ui/qt selfdrive/ui/qt/maps/map_settings.cc selfdrive/ui/qt/maps/map.cc:328:11: error: 'orientation' is deprecated: Use angleDelta() [-Werror,-Wdeprecated-declarations] if (ev->orientation() == Qt::Horizontal) { ^ /usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:221:5: note: 'orientation' has been explicitly marked deprecated here QT_DEPRECATED_VERSION_X_5_15("Use angleDelta()") ^ /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:374:45: note: expanded from macro 'QT_DEPRECATED_VERSION_X_5_15'

define QT_DEPRECATED_VERSION_X_5_15(text) QT_DEPRECATED_X(text)

                                        ^

/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:294:33: note: expanded from macro 'QT_DEPRECATED_X'

define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)

                            ^

/usr/include/x86_64-linux-gnu/qt5/QtCore/qcompilerdetection.h:675:55: note: expanded from macro 'Q_DECL_DEPRECATED_X'

define Q_DECL_DEPRECATED_X(text) attribute ((deprecated(text)))

                                                  ^

selfdrive/ui/qt/maps/map.cc:332:22: error: 'delta' is deprecated: Use angleDelta() [-Werror,-Wdeprecated-declarations] float factor = ev->delta() / 1200.; ^ /usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:218:5: note: 'delta' has been explicitly marked deprecated here QT_DEPRECATED_VERSION_X_5_15("Use angleDelta()") ^ /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:374:45: note: expanded from macro 'QT_DEPRECATED_VERSION_X_5_15'

define QT_DEPRECATED_VERSION_X_5_15(text) QT_DEPRECATED_X(text)

                                        ^

/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:294:33: note: expanded from macro 'QT_DEPRECATED_X'

define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)

                            ^

/usr/include/x86_64-linux-gnu/qt5/QtCore/qcompilerdetection.h:675:55: note: expanded from macro 'Q_DECL_DEPRECATED_X'

define Q_DECL_DEPRECATED_X(text) attribute ((deprecated(text)))

                                                  ^

selfdrive/ui/qt/maps/map.cc:333:11: error: 'delta' is deprecated: Use angleDelta() [-Werror,-Wdeprecated-declarations] if (ev->delta() < 0) { ^ /usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:218:5: note: 'delta' has been explicitly marked deprecated here QT_DEPRECATED_VERSION_X_5_15("Use angleDelta()") ^ /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:374:45: note: expanded from macro 'QT_DEPRECATED_VERSION_X_5_15'

define QT_DEPRECATED_VERSION_X_5_15(text) QT_DEPRECATED_X(text)

                                        ^

/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:294:33: note: expanded from macro 'QT_DEPRECATED_X'

define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)

                            ^

/usr/include/x86_64-linux-gnu/qt5/QtCore/qcompilerdetection.h:675:55: note: expanded from macro 'Q_DECL_DEPRECATED_X'

define Q_DECL_DEPRECATED_X(text) attribute ((deprecated(text)))

                                                  ^

selfdrive/ui/qt/maps/map.cc:337:34: error: 'pos' is deprecated: Use position() [-Werror,-Wdeprecated-declarations] m_map->scaleBy(1 + factor, ev->pos() / MAP_SCALE); ^ /usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:224:5: note: 'pos' has been explicitly marked deprecated here QT_DEPRECATED_VERSION_X_5_15("Use position()") ^ /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:374:45: note: expanded from macro 'QT_DEPRECATED_VERSION_X_5_15'

define QT_DEPRECATED_VERSION_X_5_15(text) QT_DEPRECATED_X(text)

                                        ^

/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:294:33: note: expanded from macro 'QT_DEPRECATED_X'

define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)

                            ^

/usr/include/x86_64-linux-gnu/qt5/QtCore/qcompilerdetection.h:675:55: note: expanded from macro 'Q_DECL_DEPRECATED_X'

define Q_DECL_DEPRECATED_X(text) attribute ((deprecated(text)))

                                                  ^

1 error generated. scons: [selfdrive/ui/qt/network/networking.o] Error 1 1 error generated. scons: [selfdrive/ui/qt/maps/map_instructions.o] Error 1 4 errors generated. scons: *** [selfdrive/ui/qt/maps/map.o] Error 1 In file included from selfdrive/ui/qt/widgets/controls.cc:1: ./selfdrive/ui/qt/widgets/controls.h:242:61: error: 'buttonToggled' is deprecated: Use QButtonGroup::idToggled(int, bool) instead [-Werror,-Wdeprecated-declarations] QObject::connect(button_group, QOverload<int, bool>::of(&QButtonGroup::buttonToggled), [=](int id, bool checked) { ^ /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qbuttongroup.h:95:5: note: 'buttonToggled' has been explicitly marked deprecated here QT_DEPRECATED_VERSION_X_5_15("Use QButtonGroup::idToggled(int, bool) instead") ^ /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:374:45: note: expanded from macro 'QT_DEPRECATED_VERSION_X_5_15'

define QT_DEPRECATED_VERSION_X_5_15(text) QT_DEPRECATED_X(text)

                                        ^

/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:294:33: note: expanded from macro 'QT_DEPRECATED_X'

define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)

                            ^

/usr/include/x86_64-linux-gnu/qt5/QtCore/qcompilerdetection.h:675:55: note: expanded from macro 'Q_DECL_DEPRECATED_X'

define Q_DECL_DEPRECATED_X(text) attribute ((deprecated(text)))

                                                  ^

1 error generated. scons: *** [selfdrive/ui/qt/widgets/controls.o] Error 1 In file included from selfdrive/ui/qt/maps/map_settings.cc:1: In file included from ./selfdrive/ui/qt/maps/map_settings.h:16: ./selfdrive/ui/qt/widgets/controls.h:242:61: error: 'buttonToggled' is deprecated: Use QButtonGroup::idToggled(int, bool) instead [-Werror,-Wdeprecated-declarations] QObject::connect(button_group, QOverload<int, bool>::of(&QButtonGroup::buttonToggled), [=](int id, bool checked) { ^ /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qbuttongroup.h:95:5: note: 'buttonToggled' has been explicitly marked deprecated here QT_DEPRECATED_VERSION_X_5_15("Use QButtonGroup::idToggled(int, bool) instead") ^ /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:374:45: note: expanded from macro 'QT_DEPRECATED_VERSION_X_5_15'

define QT_DEPRECATED_VERSION_X_5_15(text) QT_DEPRECATED_X(text)

                                        ^

/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:294:33: note: expanded from macro 'QT_DEPRECATED_X'

define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)

                            ^

/usr/include/x86_64-linux-gnu/qt5/QtCore/qcompilerdetection.h:675:55: note: expanded from macro 'Q_DECL_DEPRECATED_X'

define Q_DECL_DEPRECATED_X(text) attribute ((deprecated(text)))

                                                  ^

In file included from selfdrive/ui/qt/widgets/ssh_keys.cc:1: In file included from ./selfdrive/ui/qt/widgets/ssh_keys.h:6: ./selfdrive/ui/qt/widgets/controls.h:242:61: error: 'buttonToggled' is deprecated: Use QButtonGroup::idToggled(int, bool) instead [-Werror,-Wdeprecated-declarations] QObject::connect(button_group, QOverload<int, bool>::of(&QButtonGroup::buttonToggled), [=](int id, bool checked) { ^ /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qbuttongroup.h:95:5: note: 'buttonToggled' has been explicitly marked deprecated here QT_DEPRECATED_VERSION_X_5_15("Use QButtonGroup::idToggled(int, bool) instead") ^ /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:374:45: note: expanded from macro 'QT_DEPRECATED_VERSION_X_5_15'

define QT_DEPRECATED_VERSION_X_5_15(text) QT_DEPRECATED_X(text)

                                        ^

/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:294:33: note: expanded from macro 'QT_DEPRECATED_X'

define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)

                            ^

scons: building terminated because of errors. scons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... clang++ -o selfdrive/ui/qt/widgets/ssh_keys.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -D_REENTRANT -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QUICK_LIB -DQT_QUICKWIDGETS_LIB -DQT_QML_LIB -DQT_CORE_LIB -DQT_MESSAGELOGCONTEXT -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -DENABLE_MAPS -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -I/usr/include -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.12.8/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtConcurrent -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5/QtQuick -I/usr/include/x86_64-linux-gnu/qt5/QtQml -I/usr/include/x86_64-linux-gnu/qt5/QtQuickWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtLocation -I/usr/include/x86_64-linux-gnu/qt5/QtPositioning -I/usr/include/x86_64-linux-gnu/qt5/QtDBus -I/usr/include/x86_64-linux-gnu/qt5/QtXml -Iselfdrive/ui/qt selfdrive/ui/qt/widgets/ssh_keys.cc scons: building terminated because of errors. /usr/include/x86_64-linux-gnu/qt5/QtCore/qcompilerdetection.h:675:55: note: expanded from macro 'Q_DECL_DEPRECATED_X'

define Q_DECL_DEPRECATED_X(text) attribute ((deprecated(text)))

                                                  ^

1 error generated. scons: [selfdrive/ui/qt/widgets/ssh_keys.o] Error 1 1 error generated. scons: [selfdrive/ui/qt/maps/map_settings.o] Error 1 In file included from selfdrive/ui/qt/network/networking.cc:1: In file included from ./selfdrive/ui/qt/network/networking.h:7: In file included from ./selfdrive/ui/qt/widgets/ssh_keys.h:6: ./selfdrive/ui/qt/widgets/controls.h:242:61: error: 'buttonToggled' is deprecated: Use QButtonGroup::idToggled(int, bool) instead [-Werror,-Wdeprecated-declarations] QObject::connect(button_group, QOverload<int, bool>::of(&QButtonGroup::buttonToggled), [=](int id, bool checked) { ^ /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qbuttongroup.h:95:5: note: 'buttonToggled' has been explicitly marked deprecated here QT_DEPRECATED_VERSION_X_5_15("Use QButtonGroup::idToggled(int, bool) instead") ^ /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:374:45: note: expanded from macro 'QT_DEPRECATED_VERSION_X_5_15'

define QT_DEPRECATED_VERSION_X_5_15(text) QT_DEPRECATED_X(text)

                                        ^

/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:294:33: note: expanded from macro 'QT_DEPRECATED_X'

define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)

                            ^

/usr/include/x86_64-linux-gnu/qt5/QtCore/qcompilerdetection.h:675:55: note: expanded from macro 'Q_DECL_DEPRECATED_X'

define Q_DECL_DEPRECATED_X(text) attribute ((deprecated(text)))

                                                  ^

1 error generated. scons: *** [selfdrive/ui/qt/network/networking.o] Error 1 In file included from selfdrive/ui/qt/widgets/ssh_keys.cc:1: In file included from ./selfdrive/ui/qt/widgets/ssh_keys.h:6: ./selfdrive/ui/qt/widgets/controls.h:242:61: error: 'buttonToggled' is deprecated: Use QButtonGroup::idToggled(int, bool) instead [-Werror,-Wdeprecated-declarations] QObject::connect(button_group, QOverload<int, bool>::of(&QButtonGroup::buttonToggled), [=](int id, bool checked) { ^ /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qbuttongroup.h:95:5: note: 'buttonToggled' has been explicitly marked deprecated here QT_DEPRECATED_VERSION_X_5_15("Use QButtonGroup::idToggled(int, bool) instead") ^ /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:374:45: note: expanded from macro 'QT_DEPRECATED_VERSION_X_5_15'

define QT_DEPRECATED_VERSION_X_5_15(text) QT_DEPRECATED_X(text)

                                        ^

/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:294:33: note: expanded from macro 'QT_DEPRECATED_X'

define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)

                            ^

/usr/include/x86_64-linux-gnu/qt5/QtCore/qcompilerdetection.h:675:55: note: expanded from macro 'Q_DECL_DEPRECATED_X'

define Q_DECL_DEPRECATED_X(text) attribute ((deprecated(text)))

                                                  ^

1 error generated. scons: *** [selfdrive/ui/qt/widgets/ssh_keys.o] Error 1

OS Version

ubuntu 22.04

openpilot version or commit

No response

Additional info

No response

crwusiz commented 1 year ago

ubuntu 20.04

(openpilot-py3.11) root@ubuntu:~/op_cr# qmake --version QMake version 3.1 Using Qt version 5.12.8 in /usr/lib/x86_64-linux-gnu


no error

devimauz commented 1 year ago

use ubuntu 20.04

adeebshihadeh commented 1 year ago

Recommended setup is now to use the Dev Containers for non-20.04: https://github.com/commaai/openpilot/tree/master/tools#dev-container-on-any-linux-or-macos