How to link mysql library to Qt compiled statically? -


i have trouble lately linking mysql library qt static. here had done far:

1) compile qt 5.4.2 static

2) compile mysql plugin driver

3) after copy .dll , .a file both static , non-static qt's plugin folder

4) non-static qt, go normal, can't compile project static qt

in .pro file

libs += -lc:/qt/static/5.3.1/plugins/sqldrivers -lqsqlmysql  qtplugin += libqsqlmysql 

error : :-1: error: cannot find -llibqsqlmysql

i warning on .pro file :

project warning: plugin class name not determined libqsqlmysql plugin. 

please help


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -