QIcon ThemeIcons not showing up in WebAssembly apps
-
I have a very simple "hello, world" Qt Widgets app, with a QPushButton on the QMainWindow-derived main window.
I used the Property Editor in Qt Creator to specify an icon property for the button, chosen from among the built-in Theme icons. Everything works fine in a Desktop version of the app but in the Web Assembly version, the icon does not show up.
Is this expected?
Thanks
here is the ui xml:
<widget class="QPushButton" name="pushButton">
<property name="geometry">
<rect>
<x>30</x>
<y>20</y>
<width>171</width>
<height>51</height>
</rect>
</property>
<property name="text">
<string>PushButton</string>
</property>
<property name="icon">
<iconset theme="QIcon::ThemeIcon::DocumentPrint"/>
</property>
</widget> -
Here it is working in a desktop app:
And here it is not working in a Web Assembly app: