Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要能够阅读有关 MinGW 正在构建的 Qt 项目中的项目线的信息。我该怎么做?我应该在哪里包括 - /MAPINFO:LINES ,以获取包含行号信息的输出文件?
尝试使用__LINE__. 示例:
__LINE__.
qDebug()<<__LINE__<<"hi";