Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
Qt Creator 3.4.1
-
Linux
Windows
Description
- Open the attached project. It's from the QtMobility examples of Qt4.
- In Projects view, right-click on utility.h and select "Rename..." from the context menu.
- Enter a name without a suffix, e.g. "util".
- See the pro-file.
utility.h was removed from HEADERS. util was added in DISTFILES.
The same happens with a source file. Creator 3.4.0 lists the changed files in SOURCES and I think this was better. This worked until this change was added:
59da3a2bba6cc3b8552695d9588dab9b1530cec0 is the first bad commit commit 59da3a2bba6cc3b8552695d9588dab9b1530cec0 Author: BogDan Vatra <bogdan@kde.org> Date: Fri May 15 15:46:37 2015 +0300 Override text/x-csrc mimetype with QtCreator's own version It is necessarye because fredesktop's version searches for /* and // magic which is found in other files (e.g. .qml, .js, etc.) Change-Id: I9cd3341167e5a0aa57d6046f4492bab241055c4b Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Found and tested by Squish test tst_rename_file.
Attachments
Issue Links
- relates to
-
QTCREATORBUG-15241 [REG 3.5.0 -> 3.6.0] "Rename File" has different result when you do it again
-
- Closed
-