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

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -