Use QFile and QTextStream to read text files. You can read them line by line. There are many examples on the Internet. After reading a line, call the QString::split function, using = as the separator, to separate the QString variable storing each line into two parts, the front and back parts, and the return value is in a QStringList.
Just convert the front and back parts into the corresponding types according to your requirements, QS...