I got the error "cannot load mysql driver" or similar, when I wanted to connect to mysql db.
Although I could solve this problem via terminal, by copying the libqsqlmysql.so library to the folder qt software is installed and running
the below command:
qmake "INCLUDEPATH+=-Iusr/include/mysql" "LIBS+=-L/usr/lib/mysql -lmysqlclient_r" findMySQLDriver.pro
this worked out.
Now, the sad point is that I cannot make QtCreator connect to mysql at all,
in qtcreator I added sql to the .pro file, you know. but i donno how to transfer the terminal
solution to the creator .
Your
Bookmarks