<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
I just tried some strange things which I want to share with others.<br>
1. I downloaded latest (5.5) Qt Sources, including all Addons.<br>
2. I created qbs file:<br>
CppApplication<br>
{<br>
Depends { name: "Qt"; submodules: ['core', 'gui', 'widgets',
'network'] }<br>
name: 'qt-source'<br>
files: ['**/*.c','**/*.cc','**/*.cpp', '**/*.h']<br>
}<br>
and placed in qt Src root.<br>
3. Opened It in QtCreator 3.4.2. <br>
Project consumed 3.5 Gb RAM and after some minutes displayed all
contents. "Parsing C++ files" takes dozens of minutes.<br>
I counted files in projects list, around 70 000 source files (Flat
view and then counting approx.).<br>
4. Viewing and editingĀ - no lags. <br>
5. Now i try to build "qmakeglobals.cpp" from qtbase/qmake lib.<br>
6.
<meta name="qrichtext" content="1">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><!--StartFragment-->19:37:20:
Running steps for project qt-src...</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">compiling
qmakeglobals.cpp</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">20:54:25:
Elapsed time: 1:17:05.<br>
</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br>
I think it's too long :) But I was happy it finally make it.<br>
</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">Also,
during the build (one file), memory consumption raised to 6.3Gb (i
think it is a BG).<br>
</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span
style=" color:#0000aa;"><font color="#000000"><br>
7 Conclusion: as prototype, it works. In real life, no need to
load all modules sources an once. <br>
But in real life, building Qt is more complicated that
"compile-and-link-all files".</font><br>
</span><!--EndFragment--></p>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
p, li { white-space: pre-wrap; }
</style>
</body>
</html>