[Qt-creator] Cmake parser

Campbell Barton ideasman42 at gmail.com
Fri Mar 25 04:27:59 CET 2011


On Thu, Mar 24, 2011 at 10:43 PM, Daniel Teske <daniel.teske at nokia.com> wrote:
>> I made small changes in CMakeProjectManager plugin, main:
>>   * Project file list readed from file system instead of parsing .cbp
>> (CodeBlocks) project file.
>>     It can be slow on big projects, but reloading initiating only
>> during open project, run CMake,
>>     or user-initiated tree changes (add new files, erase files, rename
>> file)
>>   * You can add new files from Qt Creator. Note, you can create file
>> outside project tree,
>>     but Qt Creator will display only files that present in project
>> tree. Also, you should
>>     manualy describe this files in CMakeLists.txt.
>>   * You can rename files in file system from Qt Creator now.
>>
>>   * You can erase files from files system from Qt Creator now.
>>
>
> Well doing hat does have the advantage of also showing all the header files.
>
> On the other hand:
> - It shows unrelated files that are not part of the project
> - The add/remove/delete functions not updating the CMakeLists.txt is not
> right, that is just confussing for the user.
>
> daniel

Quick note that I use CMake and QtCreator and I never noticed it
missing any files, headers come in fine to the source tree too.



More information about the Qt-creator-old mailing list