sql

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

sql

ravas
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?!
Reply | Threaded
Open this post in threaded view
|

Re: sql

dxli
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?!
Reply | Threaded
Open this post in threaded view
|

Re: sql

ravas
macdeployqt still adds sql even with QT -= sql

I can delete the plugins/sqldrivers folder and it will work;
however, if I delete frameworks/QtSql.framework it will not work.

I guess Qt must use SQL behind the scenes...
Reply | Threaded
Open this post in threaded view
|

Re: sql

ravas
I found Sql in postprocess-osx/LibreCAD.pmdoc/01librecad-contents.xml

What is this file used for?
Reply | Threaded
Open this post in threaded view
|

Re: sql

ravas
"I am fairly certain that QtHelp uses Sqlite (but not Mysql, ODBC, or Postgresql). You should remove the drivers for database backends other than Sqlite from the sqldrivers that macdeployqt wants to package."

http://www.qtcentre.org/threads/65397-Does-Qt-use-Sql
Reply | Threaded
Open this post in threaded view
|

Re: sql

ravas
Removing the unused help manual does drop SQL.
It actually drops 4 frameworks:
- QtCLucene
- QtHelp
- QtNetwork
- QtSql

...and also 6 qt plugins.