On 07/04/2015 03:28 PM, Smirnov Vladimir wrote:
> I just tried some strange things which I want to share with others.
> 1. I downloaded latest (5.5) Qt Sources, including all Addons.
> 2. I created qbs file:
> CppApplication
> {
> Depends { name: "Qt"; submodules: ['core', 'gui', 'widgets', 'network'] }
> name: 'qt-source'
> files: ['**/*.c','**/*.cc','**/*.cpp', '**/*.h']
> }
> and placed in qt Src root.Note that this is a bit dubious, as these files do not really belong to the same product. > 3. Opened It in QtCreator 3.4.2. > Project consumed 3.5 Gb RAM and after some minutes displayed all > contents. "Parsing C++ files" takes dozens of minutes. > I counted files in projects list, around 70 000 source files (Flat view > and then counting approx.). > 4. Viewing and editing - no lags. > 5. Now i try to build "qmakeglobals.cpp" from qtbase/qmake lib. > 6. > > 19:37:20: Running steps for project qt-src... > > compiling qmakeglobals.cpp > > 20:54:25: Elapsed time: 1:17:05. Hm, this is a bit suprising. Not sure where that time is spent. > Also, during the build (one file), memory consumption raised to 6.3Gb (i > think it is a BG). Have you tried doing the same with qmake? The project files don't support wildcards, but you could generate one using a script. Christian _______________________________________________ QBS mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/qbs
