Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-969

Problems building bootstrapped tools in Qtopia Core if configured with -no-feature-<FEATURE NAME>

    XMLWordPrintable

Details

    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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            stormols Marius Storm-Olsen
            jabarron Jason Barron
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes