Shadow Build Issue

Maurice Kalinowski mkalinow at trolltech.com
Mon Oct 29 09:09:17 CET 2007


George H. Locktish wrote:
> Thank you for your help.  Adding Perl to the path solved the issue I was
> having.
>
> I have another question regarding shadow builds and the use of qconfig.
> I am trying to do a shadow build with the qconfig-minimal configuration,
> and what I am noticing is that it appears that all of the source code is
> being compiled and linked into the DLLs (as if the qconfig is being
> ignored).  Is this what should be happening?
>
>   
It is true, that although you specify a minimal configuration, all files 
are getting compiled. The difference is, that the configuration itself 
adds defines like QT_NO_LINEEDIT or QT_NO_<left-out-feature>. So the 
preprocessor removes all the code which is not supposed to get into the 
library. This is the easiest way to not manipulate the build system 
itself but being able to reduce actually compiled code.

As Thomas already suggested, you should recognize a significant size 
difference in the generated dlls.


Best Regards,

Maurice Kalinowski



More information about the Qtce-preview-feedback mailing list