[Qt-creator] 3.6.0: Search & Replaces modifies included header files from outside project directory

Mike Jackson imikejackson at gmail.com
Thu Jan 7 15:40:15 CET 2016

> On Jan 7, 2016, at 3:03 AM, Ziller Eike <Eike.Ziller at theqtcompany.com> wrote:
> Hi,
>> On Jan 6, 2016, at 7:50 PM, Mike Jackson <imikejackson at gmail.com> wrote:
>> I was doing some search/replace on our project and to my surprise I found out that files there were referenced in the project but were actually in an outside framework were also modified. To be more clear, my project is CMake based and uses Qt 5.5.1. I wanted to make changes to some *.cmake and *.txt files. The targeted files without my project directory were modified but ALSO the Qt 5.5.1 CMake files were also modified. This seems VERY counter-intuitive to me. I would have thought that files that are actually in other framework directories would have been excluded from the search/replace.
>> Has anyone else encountered anything like this before?
> The project wide search looks into all files that you can see in the project tree. Of course that depends on what the corresponding “Project” implementation considers to be part of your project. Looks like for CMake that includes the Qt .cmake files? For qmake it includes all explicitly included .pri files (and .pro files in subdir projects), but not the automatically included Qt configuration files.
> Br, Eike
> -- 
> Eike Ziller, Senior Software Engineer - The Qt Company GmbH
> The Qt Company GmbH, Rudower Chaussee 13, D-12489 Berlin
> Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja
> Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B

So do you think this is considered a bug? Should I put in a bug report or is this considered proper behavior?

Mike Jackson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20160107/4870dc4b/attachment.html>

More information about the Qt-creator mailing list