Login  Register

sql

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

sql

ravas
870 posts
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
| More
Print post
Permalink

Re: sql

dxli
2003 posts
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
| More
Print post
Permalink

Re: sql

ravas
870 posts
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
| More
Print post
Permalink

Re: sql

ravas
870 posts
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
| More
Print post
Permalink

Re: sql

ravas
870 posts
"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
| More
Print post
Permalink

Re: sql

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

...and also 6 qt plugins.