Excluding libmysqlclient.18.dylib as a dependency
sethcall last edited by sethcall
I'm trying to sign our app using macdeployqt, and the signing process is failing in Qt 5.5 because it's trying to find libmysqlclient.18.dylib. I can't distribute this library legally, as our app is not a FOSS app.
We don't use mysql; this is coming in, I think, automatically from QtSql, which we don't have a direct dependency on (but QtWebkit, which we do use, depends on QtSql).
So I'd like to exclude this dependency entirely.
I think I see from here that it might be possible to compile Qt from source using some of the options described here: http://qt.apidoc.info/5.2.0/qtcore/plugins-howto.html. Ugh. I try my best to avoid compiling Qt. It is very easy to build things incorrectly, as I'm sure many in this forum know.
Is there a way that does not require re-compiling Qt to get this dependency on mysql out of our app?
Thanks for any help!
Just remove the plugins you don't use i.e. only keep the SQLite plugin and you should be good to go.
sethcall last edited by
Thanks for your response. I'm trying this...