Question

I need to be able to read information about project lines in the Qt project which is building by MinGW. How can I do it? Where I should include - /MAPINFO:LINES , to get output file with information about lines numbers?

Was it helpful?

Solution

Try to use __LINE__. Example:

qDebug()<<__LINE__<<"hi"; 
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top