![]() I went into the 5.8.0 version source and executed the qmake command. However, I ran into a few errors here error1) Qt 5.7 5.8 version mismatch ![]() $ qmake "INCLUDEPATH+=/usr/local/include" "LIBS+=-L/usr/local/lib -lmysqlclient_r" mysql.pro $ cd Downloads/qt-everywhere-opensource-src-5.8.0/qtbase/src/plugins/sqldrivers/mysql so file that will allow me to work with mysql. ![]() The guide says that the below are the commands that I must used to build the. Here I will log my attempt to follow the tutorial: I will not write about how to download the source code of a given Qt version.īTW, my environment is Ubuntu 14.04 (64bit) and have installed Qt5.7 and Qt5.8 through offline installer. I found another lead, which was building the driver file from source and this is introduced in the official Qt resources. I tried all the methods mentioned in this thread but none worked. I checked out some threads that might give me a lead on solving this issue. QSqlDatabase: available drivers: QSQLITE QMYSQL QMYSQ元 QPSQL QPSQL7 It will keep giving me the following error: QSqlDatabase: QMYSQL driver not loaded While using Qt, I faced the problem where I could not get the QMysql working.
0 Comments
Leave a Reply. |