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:
- using qtcreator, right-click 'safeasset.qrc', select 'add existing files', select all files in 'layoutData'
- 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.
|For Gerrit Dashboard: QSR-1417|
|406165,9||Streamline QSR build process for including layout data||2.0||tqtc-boot2qt/qtsaferenderer||Status: MERGED||+2||0|