Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-7007 Symbian: Raptor integration issues
  3. QTBUG-6502

qmake extra compilers are not run in correct build phases with Raptor

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Invalid
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • Build tools: qmake
    • None
    • Symbian OS, Raptor

      Despite listing EXPORT, LIBRARY and TARGET as build targets in qmake_extra_pre_targetdep.flm, the extra compilers are not called for the EXPORT phase of the build, as the interface name in the qt.xml file describing the FLM interfaces to Raptor does not end in .export. Raptor looks for interfaces ending with .<build phase> when creating the various make files that make up the build. Since we don't have an appropriate extension on our interface, our build steps get assigned to the .default make file, which runs after resource processing. This causes problems in the case where, eg. the extra compiler is generating resource files to be built - because we won't run the extra compiler until after the resource phase of the build has passed - which actually means the build fails, as the resource files are never created.

      Unfortunately, because we want to run in multiple phases of the build, we can't just simply append .export to the end of the interface name, because I think that will fail when someone does "sbs TARGET" (we also need to run in the target phase, as eg. moc'd files might need re-moc'ing).

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

            iacampbe Iain (Inactive)
            iacampbe Iain (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes