ohos: Extract makeWebComponentAttributes() member function


Move the inline Web component attribute object out of
createEmbeddedWebComponent() into a new makeWebComponentAttributes()
member function, and pass the prebuilt object to
createEmbeddedWebComponent() instead.

This is a pure refactoring with no functional change. It prepares
for applying QWebViewSettings to the Web component in a following
commit.

Task-number: QTBUG-146838
Pick-to: 6.12
Change-Id: Ie5c9adf61b9085930a0019c480768fb86df412a2
Reviewed-by: Zbigniew Chyla <zbigniew.chyla@qt.io>
Reviewed-by: Liang Qi <liang.qi@qt.io>
commita6efcfefa6a8c70c81a94bee7d5468cf07639b4d
parent035c656edaa108589a4211495d578ee5845fbf24
authorDennis Kim <dennis.kim@qt.io>
committerDennis Kim <dennis.kim@qt.io>
commit timeFri, 26 Jun 2026 21:46:33 +0000