I tested "QT -= sql" in common.pri, no issue found.
Can you try to remove sql in osx building as well?
ravas wrote
I'm curious: why is this needed in postprocess-osx.sh?
cp -r /opt/local/share/qt4/plugins/sqldrivers $RESOURCEDIR/PlugIns/sqldrivers
I notice that macdeployqt also adds this when using Qt5.
What uses sql?!