Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
6.2.0 Alpha
-
None
Description
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:
WARNING: Plugin "libqsqlodbc.dylib" uses private API and is not Mac App store compliant. WARNING: Plugin "libqsqlpsql.dylib" uses private API and is not Mac App store compliant. ERROR: no file at "/usr/local/opt/libiodbc/lib/libiodbc.2.dylib" ERROR: no file at "/Applications/Postgres.app/Contents/Versions/9.6/lib/libpq.5.dylib
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):