.pro 文件 Qt Creator 的评论 [英] Comments on .pro file Qt Creator

查看:48
本文介绍了.pro 文件 Qt Creator 的评论的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无论如何要评论我的 .pro 文件(Qt 项目)的某些部分?

Is there anyway to comment certain sections of my .pro file (Qt project)?

就我而言,我想评论不适用于我当前目标平台的特定部分.

In my case I want to comment specific parts that do not apply to the platform I'm currently targeting.

现在发现这个:http://doc.qt.io/qt-4.8/qmake-project-files.html.

推荐答案

您可以使用 # 符号注释行.

You can comment lines by using a # symbol.

.pro 文件中,任何行或语句前的 # 表示注释.

In the .pro file, # before any line or statement indicates a comment.

这篇关于.pro 文件 Qt Creator 的评论的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆