Details
-
Bug
-
Resolution: Out of scope
-
P2: Important
-
4.3.0
-
None
Description
If Qtopia Core is configured using the "no-feature<feature>" flag, then the bootstrapped tools (uic, rcc, moc) may fail due to missing classes. The problem is that the configure script is not surrounding the qconfig.h with:
#ifndef QT_BOOTSTRAPPED
...
#endif
This is caused because even though the -no-feature flag is specified, the feature config is assumed to be "full" and therefore the bootstrap define is not needed.
The workaround is to use a custom qconfig file instead (ie: -qconfig myconfig) or to manually modify the qconfig.h and add the above #ifndef.
Update:
Unfortunately, we can't add that #ifdef because there are certain configure checks that still have to be made inside those tools. Instead, they should be modified to enable whatever they need.