문제

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?

도움이 되었습니까?

해결책

Try to use __LINE__. Example:

qDebug()<<__LINE__<<"hi"; 
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top