如何在 Qt Creator 中添加名称以大写字母开头的 C++ 文件?它会自动变成小写字母 [英] how to add a c++ file in Qt Creator whose name starts with capital letters ? It automatically makes it small letter

查看:111
本文介绍了如何在 Qt Creator 中添加名称以大写字母开头的 C++ 文件?它会自动变成小写字母的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将 c++ 文件添加到现有的 Qt 项目,但我无法使 c++ 文件的名称以大写字母开头.例如.DownloadOsm.cpp 使用向导自动变为 downloadosm.cpp.

I am trying to add a c++ file to a existing Qt project but I can't make the name of the c++ file start with a capital letter. E.g. DownloadOsm.cpp becomes downloadosm.cpp automatically using the wizard.

推荐答案

要解决此问题,请执行以下操作:

To solve this issue do the following:

[工具] -> [选项] -> [C++] -> [文件命名] -> 取消勾选小写文件名"

[Tools] -> [Options] -> [C++] -> [File Naming] -> uncheck "Lower case file names"

这篇关于如何在 Qt Creator 中添加名称以大写字母开头的 C++ 文件?它会自动变成小写字母的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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