Domanda

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?

È stato utile?

Soluzione

Try to use __LINE__. Example:

qDebug()<<__LINE__<<"hi"; 
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top