Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qt 6.6 compilation errors #731

Open
prodrive11 opened this issue Jan 27, 2024 · 1 comment
Open

Qt 6.6 compilation errors #731

prodrive11 opened this issue Jan 27, 2024 · 1 comment

Comments

@prodrive11
Copy link

prodrive11 commented Jan 27, 2024

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     
@prodrive11
Copy link
Author

Have a PR for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant