In qt6 (same for 6.1.1 and 6.2.0) when any project is deployed using macdeployqt/windeployqt that
includes -qmldir flag. It will has SQL frameworks included in it.
I have created a default qwidget project. Build Release and then used deploy tool on it. (bug only happens when u add -qmldir!)
In both cases the same command was run ~/Qt/<VER>/<PLATFORM>/bin/macdeployqt <APP_DIR>/<APP_NAME>.app -qmldir=<QML_DIR>/qml/
Here is an example of frameworks in the app deployed using qt 5.15.3
vs qt 6.2.0
which also print the following errors:
in case you run the deploy command excluding `-qmldir` SQL files are not produced (it doesn't matter if any qml file are in the project or not):