I am working on a simple project where I want to know the available printers, then connect to one of them and see if there are errors or not. I have used QPrinterInfo class