8 Jan 2016 by Jochen Arndt
This is not related to Qt but plain C/C++.Just read the text file line by line, search the line for the string, and return that when found. So you have to select a file method that can read text files by line. Such a method may be the standard C file functions (fopen, fgets[^], fclose)...