Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
how to print below statment in qt to get same result ?
Qt embedded developer last edited by
printf("\nBattery Status = 0x%04X \n\r", nResult);
@Qt-embedded-developer What does that have to do with Qt?
You can use exact this line of code in your Qt application as it is C++.
Or do you want to put this text in a GUI? Please be more specific.