Qt 6.5 with WASM doesn't seem to read qtquickcontrols2.conf
-
In this first instance I have the WASM build on the left, with the native build on the right.
qtquickcontrols2.conf[Controls] Style=Material [Material] Theme=DarkMain.qml
import QtQuick import QtQml import QtQuick.Controls import QtQuick.Layouts
However if I change the imports it works.
Main.qmlimport QtQuick 2.15 import QtQml 2.15 import QtQuick.Controls 2.15 import QtQuick.Layouts 1.15
Also, noticed with a native build it'll ignore [Material\Palette] settings
i.e. import QtQuick:

import QtQuick 2.15:

Back to the WASM version I've tried:
- QQuickStyle::setStyle("Material");
- import QtQuick.Controls.Material
Edit
On closer inspection it appears that it is setting the Material style. I can see in the rounded buttons and curved drawer. What it isn't setting is the palette. If I add this to Main.qml it workspalette.base: "#363638" palette.alternateBase: "#3c3c3d" palette.light: "#696969" palette.midlight: "#575757" palette.button: "#464646" palette.mid: "#343434" palette.dark: "#232323" palette.brightText: "#ffffff" palette.buttonText: "#eff0f1" palette.highlight: "#326ba6" palette.highlightedText: "#ffffff" palette.link: "#2980b9" palette.linkVisited: "#7f8c8d" palette.shadow: "#000000" palette.text: "#b6babf" palette.toolTipBase: "#000000" palette.toolTipText: "#eff0f1" palette.window: "#28282b" palette.windowText: "#ffffff"