hi,
I have a program with mysql in linux. So i need the qsqlmysql.so . I put the qsqlmysql.so to the directory /usr/local/Trolltech/qt4.4.3/plugins/sqldrivers/, my program worked ok. But when I put the qsqlmysql.so to the directory /usr/local/Trolltech/qt4.4.3/lib/ ,it tell me driver not loaded, that the program cannot find the lib.
the LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/Trolltech/qt4.4.3/lib/
so I think it will be worked ok, But it is not when I put the qsqlmysql.so to the directory /usr/local/Trolltech/qt4.4.3/lib/ . It seems that I must put the qsqlmysql.so to the directory /usr/local/Trolltech/qt4.4.3/plugins/sqldrivers/。
Is that really?
I am confused, and I don't know the reason.
thankyou for your help
thankyou
Bookmarks