Qt 6.6 compilation errors
prodrive11 opened this issue · comments
Pat commented
Few compilation errors compiling under linux/ubuntu g++ (Ubuntu 11.2.0-7ubuntu2) 11.2.0
related to casting, and Qt 6.6 API breaking changes
connections/lawicel_serial.cpp: In member function ‘void LAWICELSerial::serialError(QSerialPort::SerialPortError)’:
connections/lawicel_serial.cpp:392:23: error: ‘ParityError’ is not a member of ‘QSerialPort’
392 | case QSerialPort::ParityError:
| ^~~~~~~~~~~
connections/lawicel_serial.cpp:395:23: error: ‘FramingError’ is not a member of ‘QSerialPort’
395 | case QSerialPort::FramingError:
| ^~~~~~~~~~~~
connections/lawicel_serial.cpp:398:23: error: ‘BreakConditionError’ is not a member of ‘QSerialPort’
398 | case QSerialPort::BreakConditionError:
| ^~~~~~~~~~~~~~~~~~~
make: *** [Makefile:25193: lawicel_serial.o] Error 1