[Interest] qmake (wasm) : qtlogo.svg

Morten Sørvig Morten.Sorvig at qt.io
Fri Apr 30 10:29:03 CEST 2021



> On 29 Apr 2021, at 20:56, Nicholas Yue <yue.nicholas at gmail.com> wrote:
> 
> Hi,
> 
>   When building a Qt app with qmake that was build as WASM, it generate a corresponding *.html which references the qtlogo.svg file
> 
> cme.html:        <img src="qtlogo.svg" width="320" height="200" style="display:block"></img>
> 
>   Is there some option in the *.pro I can specify to tell qmake to use a different SVG file instead?
> 

Hi,

Short answer is no, there is no option.

The expectation is that applications will provide their own .html file which suites their use case. The default one makes the app canvas cover the entire viewport, so if that is the presentation you want then you can use the generated html as a base and replace the Qt branding.

Regards,
Morten



More information about the Interest mailing list