Uploaded image for project: 'Qt Safe Renderer'
  1. Qt Safe Renderer
  2. QSR-1417

Streamline QSR build process for including layout data

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Fixed
    • Affects Version/s: QSR 2.0 Beta 3
    • Fix Version/s: QSR 2.0 RC1
    • Component/s: Tooling
    • Labels:
      None
    • Environment:

      Building a running a PoC on a Linux host

      Same issue applied to QNX target

      Description

      The current build process is a bit awkward. You have to run make once to generate layout data, then again to include the layout data in the qrc file.

      Some feedback from a  customer:

      I just wanted to provide a bit of feedback on the fix for the 'SafeRenderer::QSafeResource::ResourceException'   error.

      The fix was to add the layout data to safeasset.qrc.
      It's a bit backwards because the layout files only get created by running make.

      This means for any project you have to run make twice and add the newly created files to safeasset.qrc in between

      In other words:

      1. qmake
      2. make
      3. using qtcreator, right-click 'safeasset.qrc', select 'add existing files', select all files in 'layoutData'
      4. make
      5. after this the executable should work fine

      Although this works, it certainly seems a bit odd. 
      At a minimum the run-time error should be augmented as I don't think I'll be the last to run into this.

        TestRail: Results

          Attachments

            Issue Links

            For Gerrit Dashboard: QSR-1417
            # Subject Branch Project Status CR V

              Activity

                People

                Assignee:
                teemu.holappa Teemu Holappa
                Reporter:
                patrickshelly Patrick Shelly
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Gerrit Reviews

                    There are no open Gerrit changes

                      TestRail: Runs

                        TestRail: Cases