QSqlDatabase: QMYSQL driver not loaded ubuntu, Qt5.14.0
-
@Christian-Ehrlicher said in QSqlDatabase: QMYSQL driver not loaded ubuntu, Qt5.14.0:
qmake
Bro how to remove the config cache, and how to run correct qmake , if my qt installed path is /home/sujith/Qt5.14.0/5.14.0/Src/
-
How to remove: delete the file/folder using for example rm.
For qmake, use the full path to the executable you want to call.
-
How to remove: delete the file/folder using for example rm.
For qmake, use the full path to the executable you want to call.
-
The config.cache file is create by qmake in /Qt5.14.0/5.14.0/Src/qtbase/src/plugins/sqldrivers - you simply could have take a look there to find it.
-
The config.cache file is create by qmake in /Qt5.14.0/5.14.0/Src/qtbase/src/plugins/sqldrivers - you simply could have take a look there to find it.
-
@sujith-D said in QSqlDatabase: QMYSQL driver not loaded ubuntu, Qt5.14.0:
how to find fullpath ?
you should know where you installed your Qt5.14. installation into, so you can also find the correct qmake in there - we don't know where you installed your Qt5.14 binary files (your comment about /home/sujith/Qt5.14.0/5.14.0/Src is wrong - at least I don't think that you installed your binary files into the source dir)
-
@sujith-D Execute:
cd ~/Qt5.14.0/5.14.0/Src/qtbase/src/plugins/sqldrivers && ~/Qt5.14.0/5.14.0/gcc_64/bin/qmake sqldrivers.pro && make && make install
@eyllanesc Thank you bro. You saved my week.