I recently compiled QT 4.4.2 on Linux. The configure --help command says that the debug mode is off by default. Indeed, configure said "Debug No". I looked to the lib directory and to my surprise it contained every file in 2 versions - a normal and .debug one. For example libQtCore.so.4.4.2 was 2.2 MB and libQtCore.so.4.4.2.debug was 17 MB.
Then I tried recompiling QT with debug on. I installed it to a different location and checked sizes:
libQtCore.so.4.4.2 - 3 MB
libQtCore.so.4.4.2.debug - 24 MB
So, it seems that compiling with debug gives some extra information to the libs, but now I'm completely confused. Can anyone explain what additional stuff is included in the debug version and why those .debug file were created in both cases.
Bookmarks