Description
When using the 'Generate CMakeLists.txt' functionality in QDS under Build menu the produced CMake project doesn't include qtquickcontrols2.
So when opened, built & ran in Qt Creator the application will use default style for QtQuickControls2 components making the application look very different (and ugly) between QDS and Qt Creator.
Workaround:
- Copy qtquickcontrols2.conf under content directory
- Add RESOURCES qtquickcontrols2.conf in qt6_add_qml_module() in file content/CMakeLists.txt
- Add qputenv("QT_QUICK_CONTROLS_CONF", "content/qtquickcontrols2.conf"); to main.cpp