PDA

View Full Version : SREC (Motorola S-record) file format support in QT



Software
28th August 2018, 09:00
Hi,

I want to convert XML file to SREC file using QT application. I have extensively searched but did't find anything related to srec support in QT.
Do QT or any third party library of QT already have support for SREC file format? Or It is better to write QT application from scratch?

Thanks,
Pranay.

ChrisW67
29th August 2018, 11:25
I want to convert XML file to SREC file using QT application.
Qt has facility for reading XML files, e.g QXmlSimpleReader or QDomDocument

An S-rec file is just a text file and Qt, or just plain C++, is quite capable of reading or writing text. See QFile, QTextStream (and QByteArray because you probably want to manipulate data as a bunch of bytes at some point)