Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Mysql does not work when I compile statically
ReDKiiL last edited by
I create a qt's static using this tutorial:
More when I run my application mysql does not work
When I run the dynamic environment/debug, works normally.
moravas last edited by
it's a bit broad range of point of failure, but first of all: did you compile the MySQL source as well into the static build of Qt? You yould have something like that: QtSQL.library
Are you setting up your code/pro file to make use of static plugins ?